Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 19:40:07 +01:00
Improve lsw too
Dieser Commit ist enthalten in:
Ursprung
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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren