Add camouflage system, add greenhouse door and clean up

This commit is contained in:
Nedelosk committed 2016-03-13 21:00:45 +01:00
1 parent 7238886d00
commit bde92c4afc
158 files changed
+1476 -491

No files matched your search

@@ -282,7 +282,7 @@ public class BlockCandle extends BlockTorch implements IItemModelRegister {
@Override
public void onBlockPlacedBy(World world, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) {
TileCandle tileCandle = (TileCandle) (world.getTileEntity(pos));
TileCandle tileCandle = (TileCandle) world.getTileEntity(pos);
int colour = getColourValueFromItemStack(stack);
boolean isLit = isLit(stack);
tileCandle.setColour(colour);