+move InventoryFillBauGuiItem to inventoryfiller package
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
73f7fb2970
Commit
4e431c298a
@ -886,8 +886,8 @@ OTHER_ITEMS_KILLALL_NAME=§eKillAll
|
||||
OTHER_ITEMS_KILLALL_LORE_1=§eWithout Shift§8:§7 only this region
|
||||
OTHER_ITEMS_KILLALL_LORE_2=§eWith Shift§8:§7 global
|
||||
OTHER_ITEMS_INVENTORY_FILL_NAME=§eInventoryFill
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_1=§aActivated
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_2=§aDisabled
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_ACTIVE=§aActivated
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_INACTIVE=§aDisabled
|
||||
OTHER_SLOT_INVALID_SLOT=§cInvalid slot
|
||||
OTHER_NOCLIP_SLOT_INFO=§7With /slot you can change the selected slot and take another block in the slot.
|
||||
OTHER_NOCLIP_SLOT_HELP_PICK = §8/§eslot pick §8-§7 Take the faced block into your inventory.
|
||||
|
@ -866,8 +866,8 @@ OTHER_ITEMS_GAMEMODE_LORE_2=§eLinks-Click§8:§7 Umschalten zwischen Survival u
|
||||
OTHER_ITEMS_KILLALL_NAME=§eKillAll
|
||||
OTHER_ITEMS_KILLALL_LORE_1=§eOhne Shift§8:§7 nur die Region
|
||||
OTHER_ITEMS_KILLALL_LORE_2=§eMit Shift§8:§7 Global
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_1=§aAktiviert
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_2=§aDeaktiviert
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_ACTIVE=§aAktiviert
|
||||
OTHER_ITEMS_INVENTORY_FILL_LORE_INACTIVE=§aDeaktiviert
|
||||
OTHER_SLOT_INVALID_SLOT=§cInvalider Slot
|
||||
OTHER_NOCLIP_SLOT_INFO=§7Mit /slot kannst du den ausgewählten Slot ändern und einen anderen Block in den Slot nehmen.
|
||||
OTHER_NOCLIP_SLOT_HELP_PICK = §8/§eslot pick §8-§7 Lege den angeguckten Block ins Inventar
|
||||
|
@ -1,4 +1,4 @@
|
||||
package de.steamwar.bausystem.features.util.items;
|
||||
package de.steamwar.bausystem.features.inventoryfiller;
|
||||
|
||||
import de.steamwar.bausystem.BauSystem;
|
||||
import de.steamwar.bausystem.Permission;
|
||||
@ -32,7 +32,7 @@ public class InventoryFillBauGuiItem extends BauGuiItem {
|
||||
|
||||
@Override
|
||||
public ItemStack getItem(Player player) {
|
||||
String loreKey = Config.getInstance().get(player).getPlainValueOrDefault("inventoryfill", false) ? "OTHER_ITEMS_INVENTORY_FILL_LORE_1" : "OTHER_ITEMS_INVENTORY_FILL_LORE_2";
|
||||
String loreKey = Config.getInstance().get(player).getPlainValueOrDefault("inventoryfill", false) ? "OTHER_ITEMS_INVENTORY_FILL_LORE_ACTIVE" : "OTHER_ITEMS_INVENTORY_FILL_LORE_INACTIVE";
|
||||
return new SWItem(Material.HOPPER, BauSystem.MESSAGE.parse("OTHER_ITEMS_INVENTORY_FILL_NAME", player), Collections.singletonList(BauSystem.MESSAGE.parse(loreKey, player)), false, clickType -> {}).getItemStack();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren