Doing some code cleanup.

This commit is contained in:
Alexander committed 2014-02-17 00:31:43 -05:00
1 parent 038be9da2a
commit 3d866316a7
199 files changed
+797 -381

No files matched your search

@@ -38,7 +38,7 @@ public class TankRender implements ISimpleBlockRenderingHandler
{
if (modelID == tankModelID)
{
// Liquid
//Liquid
LavaTankLogic logic = (LavaTankLogic) world.getTileEntity(x, y, z);
if (logic.containsFluid())
{
@@ -53,7 +53,7 @@ public class TankRender implements ISimpleBlockRenderingHandler
renderer.setRenderBounds(00, 0.001, 0.001, 0.999, logic.getFluidAmountScaled(), 0.999);
}
// Block
//Block
int meta = world.getBlockMetadata(x, y, z);
if (meta == 0 && world.getBlock(x, y + 1, z) == Blocks.air)
{
@@ -108,4 +108,4 @@ public class TankRender implements ISimpleBlockRenderingHandler
tessellator.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
}
}