mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 20:46:59 +01:00
Improve lsw too
This commit is contained in:
parent
a9bcec2567
commit
8d19f7fc9c
@ -22,7 +22,7 @@ index 691cafd..7a5801f 100644
|
||||
|
||||
public static int lsw(long l) {
|
||||
- return (int) (l & 0xFFFFFFFF) + Integer.MIN_VALUE;
|
||||
+ return (int) (l & 0xFFFFFFFF); // Spigot
|
||||
+ return (int) l; // Spigot
|
||||
}
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/LongHashSet.java b/src/main/java/org/bukkit/craftbukkit/util/LongHashSet.java
|
||||
|
Loading…
Reference in New Issue
Block a user