Fix to accumulative paralyze fall damage

- Added fix to accumulative paralyze fall damage, does not effect fall distance after player is paralyzed.
This commit is contained in:
Simplicitee 2015-08-04 01:30:32 -04:00
parent cfc84e3dad
commit 3d6162edc7

View file

@ -20,6 +20,9 @@ public class ChiblockingManager implements Runnable {
AcrobatStance.progressAll();
for (Player player : Bukkit.getOnlinePlayers()) {
Smokescreen.removeFromHashMap(player);
if (Paralyze.isParalyzed(player)) {
player.setFallDistance(0F);
}
}
}