removed default color use from the BlockColorWrapper

This commit is contained in:
Leonardo
2021-10-26 21:28:18 +02:00
parent 27f9a527bc
commit bf712e893e
@@ -113,9 +113,8 @@ public class BlockColorWrapper
}
else
{
isColored = false;
isColored = true;
texture = mc.getModelManager().getBlockModelShaper().getTexture(block.defaultBlockState(), mc.getClientWorld(), blockPosWrapper.getBlockPos());
//return;
}
int count = 0;
@@ -230,10 +229,7 @@ public class BlockColorWrapper
public int getColor()
{
if (hasColor())
return color;
else
return block.defaultMaterialColor().col;
}
//------------//