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() {
|
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() {
|
||||||
|
|
Loading…
Reference in New Issue