3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Fix confirm stack

Dieser Commit ist enthalten in:
Jesse Boyd 2019-11-23 05:33:46 +00:00
Ursprung 944c8c5521
Commit 21ecd9dc4b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -560,7 +560,7 @@ public class RegionCommands {
boolean skipEntities, boolean skipEntities,
@Switch(name = 'b', desc = "Also copy biomes") @Switch(name = 'b', desc = "Also copy biomes")
boolean copyBiomes, boolean copyBiomes,
@ArgFlag(name = 'm', desc = "Source mask", def="") @ArgFlag(name = 'm', desc = "Set the include mask, non-matching blocks become air", def = "")
Mask mask) throws WorldEditException { Mask mask) throws WorldEditException {
Mask combinedMask; Mask combinedMask;

Datei anzeigen

@ -59,8 +59,7 @@ public class ConsumeBindings extends Bindings {
} }
@Binding @Binding
@Confirm @Confirm(Confirm.Processor.REGION)
@Selection
public int regionMultiple(Actor actor, InjectedValueAccess context, @Selection Region region, String argument) { public int regionMultiple(Actor actor, InjectedValueAccess context, @Selection Region region, String argument) {
int times = (int) Expression.compile(argument).evaluate(); int times = (int) Expression.compile(argument).evaluate();
return Confirm.Processor.REGION.check(actor, context, times); return Confirm.Processor.REGION.check(actor, context, times);