Make the render color for camo blocks work with meta

before, blocks which required meta colors for determining their render
color would use the meta of the Platform itself
This commit is contained in:
yrsegal committed 2016-01-04 19:39:50 -05:00
1 parent 27ae04ee2c
commit 69eac1f12e
1 file changed
+1 -1
@@ -134,7 +134,7 @@ public abstract class BlockCamo extends BlockModContainer<TileCamo> {
TileCamo camo = (TileCamo) tile;
Block block = camo.camo;
if(block != null)
return block instanceof BlockCamo ? 0xFFFFFF : block.colorMultiplier(par1World, par2, par3, par4);
return block instanceof BlockCamo ? 0xFFFFFF : block.getRenderColor(camo.camoMeta);
}
return 0xFFFFFF;