mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 23:57:43 +01:00
Improve lsw too
This commit is contained in:
parent
a9bcec2567
commit
8d19f7fc9c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ index 691cafd..7a5801f 100644
|
||||||
|
|
||||||
public static int lsw(long l) {
|
public static int lsw(long l) {
|
||||||
- return (int) (l & 0xFFFFFFFF) + Integer.MIN_VALUE;
|
- 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
|
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 a new issue