From 7436f3a0544c68a0f7d82903f9a9f7dc2527c12b Mon Sep 17 00:00:00 2001 From: Angelillo15 Date: Fri, 22 Dec 2023 15:18:51 +0100 Subject: [PATCH] Unfreeze player on exit --- .../angelillo15/mast/bukkit/listener/freeze/FreezeListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAStaff-Bukkit/src/main/java/es/angelillo15/mast/bukkit/listener/freeze/FreezeListener.java b/MAStaff-Bukkit/src/main/java/es/angelillo15/mast/bukkit/listener/freeze/FreezeListener.java index ea712589..a3eb9f9f 100644 --- a/MAStaff-Bukkit/src/main/java/es/angelillo15/mast/bukkit/listener/freeze/FreezeListener.java +++ b/MAStaff-Bukkit/src/main/java/es/angelillo15/mast/bukkit/listener/freeze/FreezeListener.java @@ -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()));