diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SelectCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SelectCommand.java index ce859ec6..bd8566ea 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SelectCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SelectCommand.java @@ -40,6 +40,11 @@ public class SelectCommand extends SWCommand { setSelection(regionType, regionExtensionType, region, p); } + @Register("tb") + public void baurahmenCommand(@Validator Player p, @OptionalValue("NORMAL") RegionExtensionType regionExtensionType) { + baurahmenCommand(p, RegionType.TESTBLOCK, regionExtensionType); + } + @ClassValidator(value = Player.class, local = true) public TypeValidator validator() { return (commandSender, player, messageSender) -> { diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java b/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java index 0172a6bf..a618c644 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java @@ -29,7 +29,6 @@ public enum RegionType implements EnumDisplay { BUILD("REGION_TYPE_BUILD"), TESTBLOCK("REGION_TYPE_ONLY_TB"); - @Getter private String chatValue; }