Fix Faucet pouring rendering with nether smeltery stuff

This commit is contained in:
Bernhard Bonigl committed 2014-09-15 12:21:52 +02:00
1 parent 3f4e2706a3
commit bdce6310ae
1 file changed
+3 -3
@@ -254,15 +254,15 @@ public class CastingBlockRender implements ISimpleBlockRenderingHandler
float yMin = 0F;
Block uBlock = world.getBlock(x, y - 1, z);
int uMeta = world.getBlockMetadata(x, y - 1, z);
if (uBlock == TinkerSmeltery.searedBlock && uMeta == 0)
if ((uBlock == TinkerSmeltery.searedBlock || uBlock == TinkerSmeltery.searedBlockNether) && uMeta == 0)
{
yMin = -0.125F;
}
else if (uBlock == TinkerSmeltery.searedBlock && uMeta == 2)
else if ((uBlock == TinkerSmeltery.searedBlock || uBlock == TinkerSmeltery.searedBlockNether) && uMeta == 2)
{
yMin = -0.75F;
}
else if (uBlock == TinkerSmeltery.lavaTank)
else if (uBlock == TinkerSmeltery.lavaTank || uBlock == TinkerSmeltery.lavaTankNether)
{
yMin = -1F;
}