mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Fix bug on y bitset extraction from 1.16 update
accidently copied z's to y. seems to impact light only, but is not the source of the light bug we've been trying to fix
This commit is contained in:
parent
81f9964fcb
commit
aa9c5663ec
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
|
||||
public static int c(long i) {
|
||||
- return (int) (i << 64 - BlockPosition.h >> 64 - BlockPosition.h);
|
||||
+ return (int) ((i << 26) >> 38); // Paper - simplify/inline
|
||||
+ return (int) ((i << 52) >> 52); // Paper - simplify/inline
|
||||
}
|
||||
|
||||
public static int d(long i) {
|
||||
|
|
Loading…
Reference in a new issue