mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Fix flight glitch
- Fixed a fly glitch occuring when a player went over land with waterspout.
This commit is contained in:
parent
a20b4a1001
commit
952c1cce48
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue