Fix WaterManipulation stalling on slot change

When switching to a slot with no ability equipped while a WaterManip was active, the water would stop moving in mid air.
This commit is contained in:
kingbirdy 2015-08-20 17:13:06 -04:00
parent 486df1b504
commit 51039ab49c

View file

@ -228,7 +228,7 @@ public class WaterManipulation {
time = System.currentTimeMillis(); time = System.currentTimeMillis();
if (GeneralMethods.getBoundAbility(player) == null) { if (GeneralMethods.getBoundAbility(player) == null) {
unfocusBlock(); breakBlock();
return false; return false;
} }
if (!progressing && !falling && !GeneralMethods.getBoundAbility(player).equalsIgnoreCase("WaterManipulation")) { if (!progressing && !falling && !GeneralMethods.getBoundAbility(player).equalsIgnoreCase("WaterManipulation")) {