Use unsigned right shift operator instead of ANDing.

This commit is contained in:
Major-
2015-03-06 08:45:59 +00:00
parent 2a6fffabbb
commit 5111fe9b24
+1 -1
View File
@@ -97,7 +97,7 @@ public final class Position {
* @return The height level. * @return The height level.
*/ */
public int getHeight() { public int getHeight() {
return packed >> 30 & 0x3; return packed >>> 30;
} }
/** /**