mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
parent
4400b0f83e
commit
d25a85e0d4
@ -3566,7 +3566,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
||||
double scaledZ = (z - zero.getZ()) / unit.getZ();
|
||||
|
||||
try {
|
||||
if (expression.evaluate(timeout, scaledX, scaledY, scaledZ) <= 0) {
|
||||
if (expression.evaluate(new double[]{scaledX, scaledY, scaledZ}, timeout) <= 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -443,7 +443,8 @@ public class GenerationCommands {
|
||||
@Selection Region region,
|
||||
@Arg(desc = "The biome type to set")
|
||||
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,
|
||||
@Switch(name = 'h', desc = "Generate a hollow shape")
|
||||
boolean hollow,
|
||||
|
Loading…
Reference in New Issue
Block a user