geforkt von Mirrors/FastAsyncWorldEdit
Update CuboidRegion.java
Dieser Commit ist enthalten in:
Ursprung
92b34e4fa9
Commit
69b2b4eea8
@ -133,16 +133,14 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
|||||||
}
|
}
|
||||||
pos1 = pos1.clampY(world == null ? Integer.MIN_VALUE : 0, world == null ? Integer.MAX_VALUE : world.getMaxY());
|
pos1 = pos1.clampY(world == null ? Integer.MIN_VALUE : 0, world == null ? Integer.MAX_VALUE : world.getMaxY());
|
||||||
pos2 = pos2.clampY(world == null ? Integer.MIN_VALUE : 0, world == null ? Integer.MAX_VALUE : world.getMaxY());
|
pos2 = pos2.clampY(world == null ? Integer.MIN_VALUE : 0, world == null ? Integer.MAX_VALUE : world.getMaxY());
|
||||||
BlockVector3 min = getMinimumPoint();
|
minX = Math.min(pos1.getX(), pos2.getX());
|
||||||
BlockVector3 max = getMaximumPoint();
|
minY = Math.min(pos1.getY(), pos2.getY());
|
||||||
minX = min.getBlockX();
|
minZ = Math.min(pos1.getZ(), pos2.getZ());
|
||||||
minY = min.getBlockY();
|
maxX = Math.max(pos1.getX(), pos2.getX());
|
||||||
minZ = min.getBlockZ();
|
maxY = Math.max(pos1.getY(), pos2.getY());
|
||||||
maxX = max.getBlockX();
|
maxZ = Math.max(pos1.getZ(), pos2.getZ());
|
||||||
maxY = max.getBlockY();
|
this.min = BlockVector3.at(minX, minY, minZ);
|
||||||
maxZ = max.getBlockZ();
|
this.max = BlockVector3.at(maxX, maxY, maxZ);
|
||||||
min = BlockVector3.at(minX, minY, minZ);
|
|
||||||
max = BlockVector3.at(maxX, maxY, maxZ);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren