mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Fixed Personal Chest crash, bumped default Fuelwood Heater generation, added some null checks to prevent crashes
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user