diff --git a/src/main/java/net/minecraft/server/LongHashset.java b/src/main/java/net/minecraft/server/LongHashset.java index 51f10fa719..5e565a5866 100644 --- a/src/main/java/net/minecraft/server/LongHashset.java +++ b/src/main/java/net/minecraft/server/LongHashset.java @@ -78,7 +78,7 @@ public class LongHashset extends LongHash { if(outer == null) continue; for(int i = 0; i < outer.length ; i++) { long[] inner = outer[i]; - if(inner == null) continue; + if(inner == null || inner.length == 0) continue; count--; long ret = inner[inner.length - 1]; outer[i] = Arrays.copyOf(inner, inner.length - 1);