Don't cache simultaneously added players forever

This commit is contained in:
Jikoo 2017-11-19 14:46:52 -05:00 committed by Jikoo
parent 4abaa6ea51
commit eaf01fa32c

View file

@ -41,7 +41,7 @@ public class Cache<K, V> {
new Comparator<K>() { new Comparator<K>() {
@Override @Override
public int compare(final K k1, final K k2) { public int compare(final K k1, final K k2) {
return 0; return k1 == k2 || k1 != null && k1.equals(k2) ? 0 : 1;
} }
}); });