mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
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:
parent
cfc84e3dad
commit
3d6162edc7
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue