Merge pull request #1424 from thatsIch/e-simplified-bitwise-operations
Simplified bitwise operation
This commit is contained in:
@@ -365,7 +365,7 @@ public class Platform
|
|||||||
{
|
{
|
||||||
if( tile == null && type.getType() == GuiHostType.ITEM )
|
if( tile == null && type.getType() == GuiHostType.ITEM )
|
||||||
{
|
{
|
||||||
p.openGui( AppEng.instance, type.ordinal() << 4 | ( 0 << 3 ), p.getEntityWorld(), p.inventory.currentItem, 0, 0 );
|
p.openGui( AppEng.instance, type.ordinal() << 4, p.getEntityWorld(), p.inventory.currentItem, 0, 0 );
|
||||||
}
|
}
|
||||||
else if( tile == null || type.getType() == GuiHostType.ITEM )
|
else if( tile == null || type.getType() == GuiHostType.ITEM )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user