mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
fix in LongHashset.java
This commit is contained in:
parent
89232b826b
commit
41e136b880
@ -78,7 +78,7 @@ public class LongHashset<V> extends LongHash<V> {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user