mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03:18 +00:00
Improve the greenhouse controller
This commit is contained in:
1 parent
080dd93dc2
commit
7ca28d4d10
7 files changed
+156
-44
No files matched your search
@@ -24,6 +24,7 @@ import forestry.core.inventory.FakeInventoryAdapter;
|
||||
import forestry.core.inventory.IInventoryAdapter;
|
||||
import forestry.core.multiblock.FakeMultiblockController;
|
||||
import forestry.energy.EnergyManager;
|
||||
import forestry.greenhouse.FakeGreenhouseState;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.BlockPos;
|
||||
|
||||
@@ -87,12 +88,11 @@ public class FakeGreenhouseController extends FakeMultiblockController implement
|
||||
|
||||
@Override
|
||||
public IGreenhouseState createState() {
|
||||
return null;
|
||||
return FakeGreenhouseState.instance;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<IInternalBlock> getInternalBlocks() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user