Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Fix confirm stack
Dieser Commit ist enthalten in:
Ursprung
944c8c5521
Commit
21ecd9dc4b
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren