mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
fixed the save and close button not working
This commit is contained in:
parent
a2a944da2f
commit
61b47d51ea
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ public class UnderConstructionScreen<T extends CustomFile<T>> extends Screen {
|
|||
|
||||
ButtonWidget saveExitButton = this.addDrawableChild(new ButtonWidget.Builder(Text.translatable("gui.button.save"),
|
||||
(button) -> {
|
||||
this.file.load();
|
||||
this.file.save();
|
||||
this.client.setScreen(parent);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue