mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Use unsigned right shift operator instead of ANDing.
This commit is contained in:
1 parent
2a6fffabbb
commit
5111fe9b24
1 file changed
+1
-1
@@ -97,7 +97,7 @@ public final class Position {
|
||||
* @return The height level.
|
||||
*/
|
||||
public int getHeight() {
|
||||
return packed >> 30 & 0x3;
|
||||
return packed >>> 30;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user