From 911f91a5706d3e8e3cd4d5de15c4549ec09d54e8 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 9 May 2023 21:10:52 +0200 Subject: [PATCH] Fix messages Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 6 +++--- BauSystem_Main/src/BauSystem_de.properties | 6 +++--- .../de/steamwar/bausystem/features/region/ItemsCommand.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 438728ee..448fd952 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -1059,9 +1059,9 @@ REGION_FREEZE_ENABLED=§cRegion frozen REGION_FREEZE_DISABLED=§aRegion thawed REGION_ITEMS_HELP=§8/§eitems §8- §7Toggle Items REGION_ITEMS_NO_PERMS=§cYou are not allowed to toggle items in this world -REGION_ITEMS_ENABLED=§cItems disabled in this region -REGION_ITEMS_ENABLED_GLOBAL=§cItems disabled in this world -REGION_ITEMS_DISABLED=§aItems enabled in this region +REGION_ITEMS_ENABLED=§aItems enabled in this region +REGION_ITEMS_DISABLED_GLOBAL=§cItems disabled in this world +REGION_ITEMS_DISABLED=§cItems disabled in this region REGION_PROTECT_HELP=§8/§eprotect §8- §7Protect the region REGION_PROTECT_DISABLE=§cProtection disabled REGION_PROTECT_ENABLE=§aProtection enabled diff --git a/BauSystem_Main/src/BauSystem_de.properties b/BauSystem_Main/src/BauSystem_de.properties index b9e86e58..804afa46 100644 --- a/BauSystem_Main/src/BauSystem_de.properties +++ b/BauSystem_Main/src/BauSystem_de.properties @@ -1027,9 +1027,9 @@ REGION_FREEZE_ENABLED=§cRegion eingefroren REGION_FREEZE_DISABLED=§aRegion aufgetaut REGION_ITEMS_HELP=§8/§eitems §8- §7Toggle Items REGION_ITEMS_NO_PERMS=§cDu darfst hier nicht Items (de-)aktivieren -REGION_ITEMS_ENABLED=§cItems deaktiviert in dieser Region -REGION_ITEMS_ENABLED_GLOBAL=§cItems sind auf dem Server deaktiviert. -REGION_ITEMS_DISABLED=§aItems aktiviert in dieser Region +REGION_ITEMS_ENABLED=§aItems aktiviert in dieser Region +REGION_ITEMS_DISABLED=§cItems deaktiviert in dieser Region +REGION_ITEMS_DISABLED_GLOBAL=§cItems sind auf dem Server deaktiviert. REGION_PROTECT_HELP=§8/§eprotect §8- §7Schütze die Region REGION_PROTECT_DISABLE=§cBoden Schutz aufgehoben REGION_PROTECT_ENABLE=§aBoden geschützt diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/region/ItemsCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/region/ItemsCommand.java index 8eb42c64..3b99382d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/region/ItemsCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/region/ItemsCommand.java @@ -43,7 +43,7 @@ public class ItemsCommand extends SWCommand { public void toggleCommand(@Validator Player p) { Region region = Region.getRegion(p.getLocation()); if (region != GlobalRegion.getInstance() && GlobalRegion.getInstance().getPlain(Flag.ITEMS, ItemMode.class) == ItemMode.INACTIVE) { - RegionUtils.actionBar(region, "REGION_ITEMS_ENABLED_GLOBAL"); + RegionUtils.actionBar(region, "REGION_ITEMS_DISABLED_GLOBAL"); return; }