Minor Change
Renamed TransTrapdoor.isTrapdoorOnBlock() to TransTrapdoor.isTrapdoorSetLow() so it would be easier to understand what it indicates.
This commit is contained in:
parent
4501e9373f
commit
fc6dd63573
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue