mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-22 16:05:03 +00:00
Don't cache simultaneously added players forever
This commit is contained in:
parent
4abaa6ea51
commit
eaf01fa32c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class Cache<K, V> {
|
|||
new Comparator<K>() {
|
||||
@Override
|
||||
public int compare(final K k1, final K k2) {
|
||||
return 0;
|
||||
return k1 == k2 || k1 != null && k1.equals(k2) ? 0 : 1;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue