some improvments, bugs and bugfixed )
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user