geforkt von Mirrors/FastAsyncWorldEdit
Changed /s to /.s to avoid conflicts.
Dieser Commit ist enthalten in:
Ursprung
e8cd150860
Commit
4c2faf175b
@ -250,7 +250,7 @@ commands:
|
||||
cs:
|
||||
description: Execute a CraftScript
|
||||
usage: /<command> <filename> [arg1 [args2 [arg3 [...]]]]
|
||||
s:
|
||||
.s:
|
||||
description: Re-execute last CraftScript
|
||||
usage: /<command> [arg1 [args2 [arg3 [...]]]]
|
||||
|
||||
|
@ -179,7 +179,7 @@ public class WorldEdit {
|
||||
commands.put("/rbrush", "[ID] <Radius> - Switch to the replacing sphere brush tool");
|
||||
|
||||
commands.put("/cs", "[Filename] <args...> - Execute a CraftScript");
|
||||
commands.put("/s", "<args...> - Re-execute last CraftScript");
|
||||
commands.put("/.s", "<args...> - Re-execute last CraftScript");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1746,7 +1746,7 @@ public class WorldEdit {
|
||||
return true;
|
||||
|
||||
// CraftScript
|
||||
} else if (split[0].equalsIgnoreCase("/s")) {
|
||||
} else if (split[0].equalsIgnoreCase("/.s")) {
|
||||
checkArgs(split, 1, -1, split[0]);
|
||||
|
||||
String lastScript = session.getLastScript();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren