Fix #923 Alvearies get disconnected from pipes on server start

This commit is contained in:
mezz committed 2015-10-27 00:13:54 -07:00
1 parent 45f844b53b
commit d1328cff6c
5 files changed
+38 -6

No files matched your search

@@ -36,6 +36,7 @@ import forestry.api.core.EnumTemperature;
import forestry.api.core.IClimateControlled;
import forestry.apiculture.BeeHousingInventory;
import forestry.core.access.EnumAccess;
import forestry.core.inventory.FakeInventoryAdapter;
import forestry.core.inventory.IInventoryAdapter;
import forestry.core.multiblock.CoordTriplet;
import forestry.core.multiblock.IMultiblockPart;
@@ -88,7 +89,11 @@ public class AlvearyController extends RectangularMultiblockControllerBase imple
@Override
public IInventoryAdapter getInternalInventory() {
return inventory;
if (isAssembled()) {
return inventory;
} else {
return FakeInventoryAdapter.instance();
}
}
@Override