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() {
if (mc.player == null) return;
gameType = mc.playerController.getCurrentGameType();
if (mc.player == null) { this.disable(); return; }
else gameType = mc.playerController.getCurrentGameType();
}
public void onDisable() {