mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49: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());
|
AFFECTED_BLOCKS.remove(tb.getBlock());
|
||||||
tb.revertBlock();
|
tb.revertBlock();
|
||||||
}
|
}
|
||||||
|
player.setFlying(false);
|
||||||
|
player.setAllowFlight(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void revertBaseBlock() {
|
public void revertBaseBlock() {
|
||||||
|
|
Loading…
Reference in a new issue