mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
chore: Update upstream
31e5298 Fixed //stack erroring when given a count of 0 (2108)
This commit is contained in:
parent
9b3608aada
commit
d7d43869e6
@ -558,7 +558,7 @@ public class RegionCommands {
|
||||
@ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air")
|
||||
Mask mask
|
||||
) throws WorldEditException {
|
||||
checkCommandArgument(count >= 1, "Count must be >= 1");
|
||||
checkCommandArgument(count >= 1, "Multiplier must be >= 1");
|
||||
|
||||
//FAWE start > the mask will have been initialised with a WorldWrapper extent (very bad/slow)
|
||||
new MaskTraverser(mask).setNewExtent(editSession);
|
||||
@ -639,6 +639,7 @@ public class RegionCommands {
|
||||
@ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air")
|
||||
Mask mask
|
||||
) throws WorldEditException {
|
||||
checkCommandArgument(count >= 1, "Count must be >= 1");
|
||||
|
||||
//FAWE start > the mask will have been initialised with a WorldWrapper extent (very bad/slow)
|
||||
new MaskTraverser(mask).setNewExtent(editSession);
|
||||
|
Loading…
Reference in New Issue
Block a user