From 39b407adba0d389ed4e911af477c86a112d94c78 Mon Sep 17 00:00:00 2001 From: bspkrs Date: Mon, 16 Dec 2013 15:28:12 -0500 Subject: fixed a few NPEs --- common/darkknight/jewelrycraft/block/BlockSmelter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/darkknight/jewelrycraft/block/BlockSmelter.java') diff --git a/common/darkknight/jewelrycraft/block/BlockSmelter.java b/common/darkknight/jewelrycraft/block/BlockSmelter.java index 3ac4e45..9764ac5 100644 --- a/common/darkknight/jewelrycraft/block/BlockSmelter.java +++ b/common/darkknight/jewelrycraft/block/BlockSmelter.java @@ -119,7 +119,7 @@ public class BlockSmelter extends BlockContainer else if (world.getBlockMetadata(i, j, k) == 3) me = (TileEntityMolder) world.getBlockTileEntity(i - 1, j, k); - if (te.hasMoltenMetal && me != null) + if (te.hasMoltenMetal && me != null && !world.isRemote) { if (isConnectedToMolder(world, i, j, k) && me.hasMold && !me.hasMoltenMetal && !me.hasJewelBase) { -- cgit v1.2.3