mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-16 08:26:29 +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