mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Fix waterspout fly glitch
- Fixed a fly glitch when a player goes over land with waterspout
This commit is contained in:
parent
61004060d6
commit
cf305aa53d
|
@ -154,6 +154,8 @@ public class WaterSpout extends WaterAbility {
|
|||
AFFECTED_BLOCKS.remove(tb.getBlock());
|
||||
tb.revertBlock();
|
||||
}
|
||||
player.setAllowFlight(false);
|
||||
player.setFlying(false);
|
||||
}
|
||||
|
||||
public void revertBaseBlock() {
|
||||
|
|
Loading…
Reference in a new issue