From 41e136b880ad05c91e077d6d349a3d30010692f8 Mon Sep 17 00:00:00 2001 From: Tahg Date: Thu, 10 Feb 2011 14:59:41 -0500 Subject: [PATCH] fix in LongHashset.java --- src/main/java/net/minecraft/server/LongHashset.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);