implement save and load settings

This commit is contained in:
LabyStudio
2022-02-12 22:42:35 +01:00
parent f4ac35665f
commit 9e0045f807
5 changed files with 36 additions and 2 deletions
@@ -37,4 +37,9 @@ window.GuiControls = class extends GuiScreen {
super.drawScreen(stack, mouseX, mouseY, partialTicks);
}
onClose() {
// Save settings
this.minecraft.settings.save();
}
}