Minor Change

Renamed TransTrapdoor.isTrapdoorOnBlock() to
TransTrapdoor.isTrapdoorSetLow() so it would be easier to understand
what it indicates.
This commit is contained in:
SenseiKiwi 2013-09-08 16:48:16 -04:00
parent 4501e9373f
commit fc6dd63573
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ public class TransTrapdoor extends BlockTrapDoor implements IDimDoor, ITileEntit
return Block.trapdoor.blockID;
}
public static boolean isTrapdoorOnBlock(int metadata)
public static boolean isTrapdoorSetLow(int metadata)
{
return (metadata & 8) == 0;
}

View file

@ -120,7 +120,7 @@ public class RenderTransTrapdoor extends TileEntitySpecialRenderer
var22 = 1.0F;
}
GL11.glColor4d(var21 * var17, var22 * var17, var23 * var17, 1.0F);
if (TransTrapdoor.isTrapdoorOnBlock(metadata))
if (TransTrapdoor.isTrapdoorSetLow(metadata))
{
if (TransTrapdoor.isTrapdoorOpen(metadata))
{