forked from RepoMirrors/kami-blue
fix npe in fakegamemode
This commit is contained in:
parent
f86c5d9910
commit
9f61e1ff3d
|
@ -46,6 +46,7 @@ public class FakeGamemode extends Module {
|
|||
}
|
||||
}
|
||||
public void onEnable() {
|
||||
if (mc.player == null) { this.disable();return; }
|
||||
gameType = mc.playerController.getCurrentGameType();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue