mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Actually Fix NPE in Flight revert() from 2e33659
This commit is contained in:
parent
eb2794b606
commit
34c5f3d290
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ public class Flight {
|
|||
|
||||
public void revert() {
|
||||
if (player == null) {
|
||||
instances.remove(player);
|
||||
return;
|
||||
}
|
||||
player.setAllowFlight(couldFly);
|
||||
|
|
Loading…
Reference in a new issue