Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
a9d06fbe84
Commit
e668ea01ea
@ -40,6 +40,11 @@ public class SelectCommand extends SWCommand {
|
|||||||
setSelection(regionType, regionExtensionType, region, p);
|
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)
|
@ClassValidator(value = Player.class, local = true)
|
||||||
public TypeValidator<Player> validator() {
|
public TypeValidator<Player> validator() {
|
||||||
return (commandSender, player, messageSender) -> {
|
return (commandSender, player, messageSender) -> {
|
||||||
|
@ -29,7 +29,6 @@ public enum RegionType implements EnumDisplay {
|
|||||||
BUILD("REGION_TYPE_BUILD"),
|
BUILD("REGION_TYPE_BUILD"),
|
||||||
TESTBLOCK("REGION_TYPE_ONLY_TB");
|
TESTBLOCK("REGION_TYPE_ONLY_TB");
|
||||||
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private String chatValue;
|
private String chatValue;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren