Fixed Personal Chest crash, bumped default Fuelwood Heater generation, added some null checks to prevent crashes

This commit is contained in:
aidancbrady committed 2016-05-28 02:01:21 -04:00
1 parent 5fdc677926
commit 38490db21d
5 files changed
+9 -4

No files matched your search

@@ -1080,6 +1080,11 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z)
{
MachineType type = MachineType.get(blockType, world.getBlockMetadata(x, y, z));
if(type == null)
{
return;
}
switch(type)
{