Fix flight glitch

- Fixed a fly glitch occuring when a player went over land with
waterspout.
This commit is contained in:
Benford 2016-02-10 19:18:23 -05:00
parent a20b4a1001
commit 952c1cce48

View file

@ -154,6 +154,8 @@ public class WaterSpout extends WaterAbility {
AFFECTED_BLOCKS.remove(tb.getBlock());
tb.revertBlock();
}
player.setFlying(false);
player.setAllowFlight(false);
}
public void revertBaseBlock() {