Fixed SMP solar panel (and changed the algorithm)

Fixed bug in machine upgrades.
This commit is contained in:
brad-c committed 2013-08-19 04:45:23 +08:00
1 parent 0be34ac2ef
commit 1989b3faa5
4 files changed
+46 -29

No files matched your search

@@ -49,7 +49,7 @@ public abstract class AbstractMachineEntity extends TileEntity implements IInven
capacitorType = Capacitors.BASIC_CAPACITOR;
powerHandler = PowerHandlerUtil.createHandler(capacitorType.capacitor, this, powerType);
inventory = new ItemStack[inventorySize];
inventory = new ItemStack[this.inventorySize];
redstoneControlMode = RedstoneControlMode.IGNORE;
}