some improvments, bugs and bugfixed )

This commit is contained in:
hdvt
2025-07-03 02:40:14 +03:00
parent 611ac6c213
commit 9f36ac3e4b
33 changed files with 526 additions and 456 deletions

View File

@@ -56,7 +56,7 @@ public class FreezeManager {
location.getWorld().setBlockData(blockLocation, data.blockData);
player.getPersistentDataContainer().remove(Keys.FROZEN_PLAYER);
player.setFreezeTicks(0);
data.armorStand.remove();
player.setInvulnerable(false);
@@ -110,6 +110,8 @@ public class FreezeManager {
DisguiseAPI.disguiseToAll(player, hideDisguise);
player.setFreezeTicks(40);
frozenPlayers.put(player, new FreezeData(armorStand, blockData, disguise));
} else return false;