From 8d19f7fc9c931face8d7352e3fd2db70d4c927d9 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 9 Jun 2014 19:04:53 +1000 Subject: [PATCH] Improve lsw too --- CraftBukkit-Patches/0010-LongHash-Tweaks.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CraftBukkit-Patches/0010-LongHash-Tweaks.patch b/CraftBukkit-Patches/0010-LongHash-Tweaks.patch index ffd7d25..6cefc06 100644 --- a/CraftBukkit-Patches/0010-LongHash-Tweaks.patch +++ b/CraftBukkit-Patches/0010-LongHash-Tweaks.patch @@ -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