forked from RepoMirrors/kami-blue
close #273
This commit is contained in:
parent
60a8490460
commit
ae39d68ca6
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue