Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
72652d95f8
Commit
13389f2636
@ -58,11 +58,6 @@ public class RegionCommand extends SWCommand {
|
|||||||
super("region", "rg");
|
super("region", "rg");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register
|
|
||||||
public void genericCommand(Player player) {
|
|
||||||
genericHelp(player);
|
|
||||||
}
|
|
||||||
|
|
||||||
static boolean checkGlobalRegion(Region region, Player p) {
|
static boolean checkGlobalRegion(Region region, Player p) {
|
||||||
if (region.isGlobal()) {
|
if (region.isGlobal()) {
|
||||||
BauSystem.MESSAGE.send("REGION_REGION_NO_REGION", p);
|
BauSystem.MESSAGE.send("REGION_REGION_NO_REGION", p);
|
||||||
@ -71,19 +66,6 @@ public class RegionCommand extends SWCommand {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register(help = true)
|
|
||||||
public void genericHelp(Player player, String... args) {
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("COMMAND_HELP_HEAD", player, "Region");
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_UNDO", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_REDO", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_RESTORE", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_SELECT", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_SELECT_EXTENSION", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_COLOR", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_COPYPOINT", player);
|
|
||||||
BauSystem.MESSAGE.sendPrefixless("REGION_REGION_HELP_TESTBLOCKPOINT", player);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Register(value = "undo", description = "REGION_REGION_HELP_UNDO")
|
@Register(value = "undo", description = "REGION_REGION_HELP_UNDO")
|
||||||
public void undoCommand(@Guard("WORLD_EDIT") Player p) {
|
public void undoCommand(@Guard("WORLD_EDIT") Player p) {
|
||||||
Region region = Region.getRegion(p.getLocation());
|
Region region = Region.getRegion(p.getLocation());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren