mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
fix in LongHashset.java
This commit is contained in:
parent
89232b826b
commit
41e136b880
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue