This commit is contained in:
Bella 2019-12-14 20:36:41 -05:00
parent 60a8490460
commit ae39d68ca6
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ public class FakeGamemode extends Module {
} }
public void onEnable() { public void onEnable() {
if (mc.player == null) return; if (mc.player == null) { this.disable(); return; }
gameType = mc.playerController.getCurrentGameType(); else gameType = mc.playerController.getCurrentGameType();
} }
public void onDisable() { public void onDisable() {