mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user