SteamWar/BauSystem2.0
Archiviert
12
0

Close #226 and #227 #230

Zusammengeführt
YoyoNow hat 7 Commits von SmallSimFixes nach master 2024-04-07 13:07:58 +02:00 zusammengeführt
Nur Änderungen aus Commit ae470ffadd werden angezeigt - Alle Commits anzeigen

Datei anzeigen

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