geforkt von Mirrors/FastAsyncWorldEdit
Ursprung
4400b0f83e
Commit
d25a85e0d4
@ -3566,7 +3566,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
double scaledZ = (z - zero.getZ()) / unit.getZ();
|
double scaledZ = (z - zero.getZ()) / unit.getZ();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (expression.evaluate(timeout, scaledX, scaledY, scaledZ) <= 0) {
|
if (expression.evaluate(new double[]{scaledX, scaledY, scaledZ}, timeout) <= 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -443,7 +443,8 @@ public class GenerationCommands {
|
|||||||
@Selection Region region,
|
@Selection Region region,
|
||||||
@Arg(desc = "The biome type to set")
|
@Arg(desc = "The biome type to set")
|
||||||
BiomeType target,
|
BiomeType target,
|
||||||
@Arg(desc = "Expression to test block placement locations and set biome type", variable = true)
|
@Arg(desc = "Expression to test block placement locations and set biome type. Requires x,y,z variables be present",
|
||||||
|
variable = true)
|
||||||
List<String> expression,
|
List<String> expression,
|
||||||
@Switch(name = 'h', desc = "Generate a hollow shape")
|
@Switch(name = 'h', desc = "Generate a hollow shape")
|
||||||
boolean hollow,
|
boolean hollow,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren