geforkt von Mirrors/FastAsyncWorldEdit
Update Existing pattern usage
Dieser Commit ist enthalten in:
Ursprung
7ed96ec358
Commit
19125bee5f
@ -48,7 +48,9 @@ public class PatternCommands extends MethodCommands {
|
|||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = {"#existing", "#*", "*", ".*"},
|
aliases = {"#existing", "#*", "*", ".*"},
|
||||||
desc = "Use the block that is already there")
|
desc = "Use the block that is already there",
|
||||||
|
usage = "[properties]"
|
||||||
|
)
|
||||||
public Pattern existing(Extent extent, @Optional String properties) { // TODO FIXME , @Optional String properties
|
public Pattern existing(Extent extent, @Optional String properties) { // TODO FIXME , @Optional String properties
|
||||||
if (properties == null) return new ExistingPattern(extent);
|
if (properties == null) return new ExistingPattern(extent);
|
||||||
return new PropertyPattern(extent).addRegex(".*[" + properties + "]");
|
return new PropertyPattern(extent).addRegex(".*[" + properties + "]");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren