Fixed fast_min_height?

This commit is contained in:
Vatuu 2022-05-17 19:40:16 +02:00
parent 4c48f812d5
commit f51734fea0
No known key found for this signature in database
GPG Key ID: C6F07B79B2ED9150

View File

@ -585,7 +585,7 @@ public class IrisObject extends IrisRegistrant {
}
}
} else if(config.getMode().equals(ObjectPlaceMode.FAST_MIN_HEIGHT)) {
y = 257;
y = rdata.getEngine().getHeight() + 1;
BlockVector offset = new BlockVector(config.getTranslate().getX(), config.getTranslate().getY(), config.getTranslate().getZ());
BlockVector rotatedDimensions = config.getRotation().rotate(new BlockVector(getW(), getH(), getD()), spinx, spiny, spinz).clone();