mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
use a block access wrapper to correctly render Extra Utilities' colored cobblestone
This commit is contained in:
1 parent
e2878ac24e
commit
804bc707e5
1 file changed
+2
-1
@@ -244,7 +244,8 @@ public class BlockPaintedSlab extends BlockSlab implements ITileEntityProvider,
|
||||
if(te instanceof TileEntityPaintedBlock) {
|
||||
TileEntityPaintedBlock tef = (TileEntityPaintedBlock) te;
|
||||
if(tef.getSourceBlock() != null) {
|
||||
return tef.getSourceBlock().colorMultiplier(world, x, y, z);
|
||||
PaintedBlockAccessWrapper ba = new PaintedBlockAccessWrapper(world);
|
||||
return tef.getSourceBlock().colorMultiplier(ba, x, y, z);
|
||||
}
|
||||
}
|
||||
return super.colorMultiplier(world, x, y, z);
|
||||
|
||||
Reference in new issue
Block a user