Fix old/new Smeltery config logic in block

This commit is contained in:
mDiyo committed 2013-11-05 02:28:39 -08:00
1 parent 09b9471786
commit 056fcec52d
1 file changed
+1 -1
+1 -1
View File
@@ -239,7 +239,7 @@ public class SmelteryBlock extends InventoryBlock
public void onBlockPlacedBy (World world, int x, int y, int z, EntityLivingBase entityliving, ItemStack stack)
{
super.onBlockPlacedBy(world, x, y, z, entityliving, stack);
if (world.getBlockMetadata(x, y, z) == 0 && PHConstruct.newSmeltery)
if (world.getBlockMetadata(x, y, z) == 0 && !PHConstruct.newSmeltery)
onBlockPlacedElsewhere(world, x, y, z, entityliving);
}