forked from RepoMirrors/kami-blue
disable gui scale by default
This commit is contained in:
parent
d31babb179
commit
a6c1ae4686
|
@ -145,7 +145,6 @@ public class KamiMod {
|
|||
|
||||
try { // load modules that are on by default
|
||||
ModuleManager.getModuleByName("InfoOverlay").setEnabled(true);
|
||||
ModuleManager.getModuleByName("GUI Scale").setEnabled(true);
|
||||
if (((BlueDiscordRPC) ModuleManager.getModuleByName("DiscordRPC")).startupGlobal.getValue()) {
|
||||
ModuleManager.getModuleByName("DiscordRPC").setEnabled(true);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import me.zeroeightsix.kami.setting.Settings;
|
|||
*/
|
||||
@Module.Info(name = "GUI Scale", category = Module.Category.GUI, description = "Configures size of GUI", showOnArray = Module.ShowOnArray.OFF)
|
||||
public class GUIScale extends Module {
|
||||
private Setting<Integer> scaleGlobal = this.register(Settings.integerBuilder("Scale").withMinimum(1).withValue(2).withMaximum(3).build());
|
||||
private Setting<Integer> scaleGlobal = this.register(Settings.integerBuilder("Scale").withMinimum(1).withValue(1).withMaximum(4).build());
|
||||
|
||||
public void onUpdate() {
|
||||
if (mc.player == null) return;
|
||||
|
@ -20,7 +20,5 @@ public class GUIScale extends Module {
|
|||
// Command.sendWarningMessage();
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
this.enable();
|
||||
}
|
||||
// public void onDisable() { this.enable(); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue