Merge remote-tracking branch 'origin/Translatable' into Translatable
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Commit
2e2c1c690a
@ -1061,6 +1061,10 @@ TNT_CLICK_VELOCITY_X = §7Velocity §eX§8: §e{0}
|
||||
TNT_CLICK_VELOCITY_Y = §7Velocity §eY§8: §e{0}
|
||||
TNT_CLICK_VELOCITY_Z = §7Velocity §eZ§8: §e{0}
|
||||
|
||||
#Select Util
|
||||
CHOOSE_EXTENSION ="Extension auswählen"
|
||||
CHOOSE_SELECTION ="Auswahl auswählen"
|
||||
|
||||
# Warp
|
||||
WARP_DISALLOWED = §cDu darfst hier nicht das Warp System nutzen
|
||||
WARP_LOC_X = §7X§8: §e{0}
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
package de.steamwar.bausystem.features.util.items;
|
||||
|
||||
import de.steamwar.bausystem.BauSystem;
|
||||
import de.steamwar.bausystem.Permission;
|
||||
import de.steamwar.bausystem.config.ColorConfig;
|
||||
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
||||
@ -51,7 +52,7 @@ public class SelectBauGuiItem extends BauGuiItem {
|
||||
|
||||
private static void selectExtension(Player p, RegionType type) {
|
||||
p.closeInventory();
|
||||
SWInventory inv = new SWInventory(p, 9, "Extension auswählen");
|
||||
SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("CHOOSE_EXTENSION", p));
|
||||
inv.setItem(2, new SWItem(Material.END_STONE, ColorConfig.HIGHLIGHT + "Normal", clickType -> selectFinish(p, type, RegionExtensionType.NORMAL)));
|
||||
inv.setItem(6, new SWItem(Material.PISTON, ColorConfig.HIGHLIGHT + "Ausfahrmaße", clickType -> selectFinish(p, type, RegionExtensionType.EXTENSION)));
|
||||
inv.open();
|
||||
@ -74,7 +75,7 @@ public class SelectBauGuiItem extends BauGuiItem {
|
||||
public boolean click(ClickType click, Player p) {
|
||||
if (click == ClickType.RIGHT) {
|
||||
p.closeInventory();
|
||||
SWInventory inv = new SWInventory(p, 9, "Auswahl auswählen");
|
||||
SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("CHOOSE_SELECTION", p));
|
||||
inv.setItem(2, new SWItem(Material.REDSTONE_BLOCK, ColorConfig.HIGHLIGHT + "Baurahmen", clickType -> selectExtension(p, RegionType.BUILD)));
|
||||
inv.setItem(4, new SWItem(Material.LECTERN, ColorConfig.HIGHLIGHT + "Bauplattform", clickType -> selectFinish(p, RegionType.NORMAL, RegionExtensionType.NORMAL)));
|
||||
inv.setItem(6, new SWItem(Material.END_STONE, ColorConfig.HIGHLIGHT + "Testblock", clickType -> selectExtension(p, RegionType.TESTBLOCK)));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren