Merge pull request #1424 from thatsIch/e-simplified-bitwise-operations

Simplified bitwise operation
This commit is contained in:
thatsIch
2015-05-09 15:58:04 +02:00
+1 -1
View File
@@ -365,7 +365,7 @@ public class Platform
{
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 )
{