Skip to content

Commit

Permalink
Unfreeze player on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelillo15 committed Dec 22, 2023
1 parent 2318f83 commit 7436f3a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ public void freezedPlayerExit(PlayerQuitEvent event) {
return;
}

freezeManager.unfreezePlayer(event.getPlayer());

TextUtils.sendMessage(
staffPlayer.getPlayer(),
Messages.CONFIRM_PUNISH_MESSAGE().replace("{player}", player.getName()));
Expand Down

0 comments on commit 7436f3a

Please sign in to comment.