Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
76631908f0
Commit
d715a6a066
@ -144,6 +144,7 @@ BAU_INFO_ITEM_LORE_DAMAGE=
|
|||||||
BAU_INFO_ITEM_LORE_FIRE = §7Fire§8: §e{0}
|
BAU_INFO_ITEM_LORE_FIRE = §7Fire§8: §e{0}
|
||||||
BAU_INFO_ITEM_LORE_COLOR = §7Color§8: §e{0}
|
BAU_INFO_ITEM_LORE_COLOR = §7Color§8: §e{0}
|
||||||
BAU_INFO_ITEM_LORE_PROTECT = §7Protect§8: §e{0}
|
BAU_INFO_ITEM_LORE_PROTECT = §7Protect§8: §e{0}
|
||||||
|
BAU_INFO_ITEM_LORE_ITEMS = §7Items§8: §e{0}
|
||||||
|
|
||||||
BAU_INFO_COMMAND_HELP = §8/§ebauinfo §8- §7Information regarding this build server
|
BAU_INFO_COMMAND_HELP = §8/§ebauinfo §8- §7Information regarding this build server
|
||||||
BAU_INFO_COMMAND_OWNER = §7Owner: §e{0}
|
BAU_INFO_COMMAND_OWNER = §7Owner: §e{0}
|
||||||
|
@ -25,6 +25,7 @@ import de.steamwar.bausystem.config.BauServer;
|
|||||||
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
||||||
import de.steamwar.bausystem.region.Region;
|
import de.steamwar.bausystem.region.Region;
|
||||||
import de.steamwar.bausystem.region.flags.Flag;
|
import de.steamwar.bausystem.region.flags.Flag;
|
||||||
|
import de.steamwar.core.Core;
|
||||||
import de.steamwar.inventory.SWItem;
|
import de.steamwar.inventory.SWItem;
|
||||||
import de.steamwar.linkage.Linked;
|
import de.steamwar.linkage.Linked;
|
||||||
import de.steamwar.sql.SteamwarUser;
|
import de.steamwar.sql.SteamwarUser;
|
||||||
@ -58,6 +59,9 @@ public class BauInfoBauGuiItem extends BauGuiItem {
|
|||||||
if (flag == Flag.PROTECT && region.getFloorLevel() == 0) {
|
if (flag == Flag.PROTECT && region.getFloorLevel() == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (flag == Flag.ITEMS && Core.getVersion() < 19) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
Flag.Value<?> value = region.get(flag);
|
Flag.Value<?> value = region.get(flag);
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
stringList.add(BauSystem.MESSAGE.parse("BAU_INFO_ITEM_LORE_" + flag.name(), player, BauSystem.MESSAGE.parse(value.getChatValue(), player)));
|
stringList.add(BauSystem.MESSAGE.parse("BAU_INFO_ITEM_LORE_" + flag.name(), player, BauSystem.MESSAGE.parse(value.getChatValue(), player)));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren