mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
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:
parent
486df1b504
commit
51039ab49c
1 changed files with 1 additions and 1 deletions
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in a new issue