Lower freeze walk buffer

This commit is contained in:
AlexTheCoder 2017-07-17 13:03:33 -04:00
parent 46768c60ec
commit 8379c6235b

View File

@ -79,7 +79,7 @@ public class ClansFreezeManager extends MiniPlugin
if (isFrozen(event.getPlayer()) && UtilMath.offset2d(event.getFrom().getBlock().getLocation(), event.getTo().getBlock().getLocation()) >= 1) if (isFrozen(event.getPlayer()) && UtilMath.offset2d(event.getFrom().getBlock().getLocation(), event.getTo().getBlock().getLocation()) >= 1)
{ {
event.setCancelled(true); event.setCancelled(true);
event.getPlayer().teleport(event.getFrom().getBlock().getLocation().add(0, 1, 0)); event.getPlayer().teleport(event.getFrom().getBlock().getLocation().add(0, 0.5, 0));
} }
} }