Clean up more null issues

This commit is contained in:
mezz committed 2016-12-28 23:55:10 -08:00
1 parent 1fa461430e
commit 4abbc92472
142 files changed
+707 -617

No files matched your search

@@ -59,7 +59,7 @@ public class BlockStump extends BlockTorch implements IItemModelRegister {
if (BlockCandle.lightingItems.contains(heldItem.getItem())) {
IBlockState blockState = worldIn.getBlockState(pos);
Block block = blockState.getBlock();
IBlockState activatedState = PluginApiculture.blocks.candle.getStateFromMeta(block.getMetaFromState(blockState));
IBlockState activatedState = PluginApiculture.getBlocks().candle.getStateFromMeta(block.getMetaFromState(blockState));
worldIn.setBlockState(pos, activatedState, Constants.FLAG_BLOCK_SYNC);
TileCandle tc = new TileCandle();
tc.setColour(16777215); // default to white