mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00:00
Fix greenhouse requiring height of 6 instead of 5
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user