Fixed NPE

This commit is contained in:
xGamingDudex 2016-10-20 22:43:51 +02:00
parent db9f358718
commit 0705e38b3e

View File

@ -153,7 +153,7 @@ public class PerkWoolCloud extends Perk
}
}
if (UtilEnt.isGrounded(player) || UtilTime.elapsed(_active.get(player), MAX_VELOCITY_TIME))
if (UtilEnt.isGrounded(player) || UtilTime.elapsed(_active.get(key), MAX_VELOCITY_TIME))
{
playerIterator.remove();
setWoolColor(player, DyeColor.WHITE);