Simplified bitwise operation

This commit is contained in:
thatsIch
2015-05-08 23:44:07 +02:00
parent a44369a272
commit 42c7cca64f
+1 -1
View File
@@ -364,7 +364,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 )
{