Fixes
SteamWarCI Build failed Details

Dieser Commit ist enthalten in:
Chaoscaot 2023-06-06 23:12:21 +02:00
Ursprung e5df33c19a
Commit 743ec5d565
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -77,7 +77,10 @@ public class ScriptEditScreen extends Screen {
@Override
protected void init() {
this.addDrawableChild(
new Button(DONE, this.width / 2 - 98 / 2, height - 55, () -> {
new Button(CANCEL, this.width / 2 - 100, height - 55, () -> this.client.setScreen(null))
);
this.addDrawableChild(
new Button(DONE, this.width / 2 + 2, height - 55, () -> {
this.client.setScreen(null);
finalizeBook();
})
@ -91,6 +94,7 @@ public class ScriptEditScreen extends Screen {
}
public static final Text DONE = Text.translatable("gui.done");
public static final Text CANCEL = Text.translatable("gui.cancel");
public static final Text BOOK = Text.translatable("item.minecraft.book");
private static class Button extends PressableWidget {

Datei anzeigen

@ -2,4 +2,4 @@ build:
- "./gradlew remapJar"
artifacts:
"/binarys/AdvancedScripts.jar": "build/libs/AdvancedScripts-1.0.0.jar"
"/binarys/AdvancedScripts.jar": "build/libs/AdvancedScripts-2.0.0.jar"