Fix greenhouse requiring height of 6 instead of 5

This commit is contained in:
mezz committed 2016-05-23 23:37:57 -07:00
1 parent 16c5284923
commit a39f6e8e89
1 file changed
+1 -1
@@ -602,7 +602,7 @@ public class GreenhouseController extends RectangularMultiblockControllerBase im
TileEntity tileUp = worldObj.getTileEntity(posUp);
if (sides >= 1 && !(tileUp instanceof IGreenhouseComponent)) {
int delta = y - minimumCoord.getY();
if (y - minimumCoord.getY() >= minY) {
if (delta + 1 >= minY) {
isNextRoof = true;
}
break height;