Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Update Existing pattern usage
Dieser Commit ist enthalten in:
Ursprung
7ed96ec358
Commit
19125bee5f
@ -48,7 +48,9 @@ public class PatternCommands extends MethodCommands {
|
||||
|
||||
@Command(
|
||||
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
|
||||
if (properties == null) return new ExistingPattern(extent);
|
||||
return new PropertyPattern(extent).addRegex(".*[" + properties + "]");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren