fix created npe in fakegamemode

This commit is contained in:
Bella 2019-12-03 21:15:02 -05:00
parent 9f61e1ff3d
commit ce02890740
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public class FakeGamemode extends Module {
}
public void onDisable() {
if (mc.player == null) return;
mc.playerController.setGameType(gameType);
}