SteamWar/BauSystem2.0
Archiviert
12
0

Updated ui name
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
D4rkr34lm 2024-04-07 12:57:50 +02:00
Ursprung 687cb4451e
Commit 3b53926195

Datei anzeigen

@ -168,7 +168,7 @@ public class SimulatorGroupSettingsGui extends SimulatorBaseGui {
SimulatorWatcher.update(simulator); SimulatorWatcher.update(simulator);
}); });
inventory.setItem(24, new SWItem(Material.PAPER, "§eX", clickType -> { inventory.setItem(24, new SWItem(Material.PAPER, "§eX", clickType -> {
new SimulatorAnvilGui<>(player, "X", "", Double::parseDouble, number -> { new SimulatorAnvilGui<>(player, "Relativ X", "", Double::parseDouble, number -> {
if(!allTNT){ if(!allTNT){
number = (double) Math.round(number); number = (double) Math.round(number);
} }
@ -188,7 +188,7 @@ public class SimulatorGroupSettingsGui extends SimulatorBaseGui {
SimulatorWatcher.update(simulator); SimulatorWatcher.update(simulator);
}); });
inventory.setItem(25, new SWItem(Material.PAPER, "§eY", clickType -> { inventory.setItem(25, new SWItem(Material.PAPER, "§eY", clickType -> {
new SimulatorAnvilGui<>(player, "Y", "", Double::parseDouble, number -> { new SimulatorAnvilGui<>(player, "Relativ Y", "", Double::parseDouble, number -> {
if(!allTNT){ if(!allTNT){
number = (double) Math.round(number); number = (double) Math.round(number);
} }
@ -208,7 +208,7 @@ public class SimulatorGroupSettingsGui extends SimulatorBaseGui {
SimulatorWatcher.update(simulator); SimulatorWatcher.update(simulator);
}); });
inventory.setItem(26, new SWItem(Material.PAPER, "§eZ", clickType -> { inventory.setItem(26, new SWItem(Material.PAPER, "§eZ", clickType -> {
new SimulatorAnvilGui<>(player, "Z", "", Double::parseDouble, number -> { new SimulatorAnvilGui<>(player, "Relativ Z", "", Double::parseDouble, number -> {
if(!allTNT){ if(!allTNT){
number = (double) Math.round(number); number = (double) Math.round(number);
} }