Update to MC 1.10.2
This commit is contained in:
@@ -35,14 +35,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
import javax.annotation.Nullable;
|
||||
+import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; // Paper
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
|
||||
public class DataWatcher {
|
||||
|
||||
private static final Map<Class<? extends Entity>, Integer> a = Maps.newHashMap();
|
||||
private final Entity b;
|
||||
- private final Map<Integer, DataWatcher.Item<?>> c = Maps.newHashMap();
|
||||
+ private final Map<Integer, DataWatcher.Item<?>> c = new Int2ObjectOpenHashMap<>(); // Paper
|
||||
private final ReadWriteLock d = new ReentrantReadWriteLock();
|
||||
private boolean e = true;
|
||||
private boolean f;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@@ -0,0 +0,0 @@ public class DataWatcher {
|
||||
private static final Logger a = LogManager.getLogger();
|
||||
private static final Map<Class<? extends Entity>, Integer> b = Maps.newHashMap();
|
||||
private final Entity c;
|
||||
- private final Map<Integer, DataWatcher.Item<?>> d = Maps.newHashMap();
|
||||
+ private final Map<Integer, DataWatcher.Item<?>> d = new Int2ObjectOpenHashMap<>(); // Paper
|
||||
private final ReadWriteLock e = new ReentrantReadWriteLock();
|
||||
private boolean f = true;
|
||||
private boolean g;
|
||||
--
|
||||
Reference in New Issue
Block a user