mirror of https://github.com/kami-blue/client
fix created npe in fakegamemode
This commit is contained in:
parent
9f61e1ff3d
commit
ce02890740
|
@ -51,6 +51,7 @@ public class FakeGamemode extends Module {
|
|||
}
|
||||
|
||||
public void onDisable() {
|
||||
if (mc.player == null) return;
|
||||
mc.playerController.setGameType(gameType);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue