chore: Update upstream

31e5298 Fixed //stack erroring when given a count of 0 (2108)
Dieser Commit ist enthalten in:
Alexander Brandes 2022-06-10 01:05:51 +02:00
Ursprung 9b3608aada
Commit d7d43869e6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -558,7 +558,7 @@ public class RegionCommands {
@ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air") @ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air")
Mask mask Mask mask
) throws WorldEditException { ) 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) //FAWE start > the mask will have been initialised with a WorldWrapper extent (very bad/slow)
new MaskTraverser(mask).setNewExtent(editSession); 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") @ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air")
Mask mask Mask mask
) throws WorldEditException { ) throws WorldEditException {
checkCommandArgument(count >= 1, "Count must be >= 1");
//FAWE start > the mask will have been initialised with a WorldWrapper extent (very bad/slow) //FAWE start > the mask will have been initialised with a WorldWrapper extent (very bad/slow)
new MaskTraverser(mask).setNewExtent(editSession); new MaskTraverser(mask).setNewExtent(editSession);