mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
()
This commit is contained in:
@@ -114,9 +114,9 @@ public class PlannedStructure {
|
||||
int xx = i.getPosition().getX() + sx;
|
||||
int zz = i.getPosition().getZ() + sz;
|
||||
int offset = i.getPosition().getY() - startHeight;
|
||||
int height = i.getStructure().getStructure().getLockY() != -1
|
||||
int height = (i.getStructure().getStructure().getLockY() != -1
|
||||
? i.getStructure().getStructure().getLockY()
|
||||
: placer.getHighest(xx, zz, getData()) + offset + (v.getH() / 2);
|
||||
: placer.getHighest(xx, zz, getData())) + offset + (v.getH() / 2);
|
||||
|
||||
if (options.getMode().equals(ObjectPlaceMode.PAINT) || options.isVacuum()) {
|
||||
height = -1;
|
||||
|
||||
Reference in New Issue
Block a user