SPIGOT-2270: Retain Java 6 compat

This commit is contained in:
md_5 2016-05-12 12:09:28 +10:00
parent 901c5327f8
commit 23da8b0ab7

View file

@ -14,7 +14,7 @@
private static final Logger a = LogManager.getLogger(); private static final Logger a = LogManager.getLogger();
- private final Set<Long> unloadQueue = Sets.newHashSet(); - private final Set<Long> unloadQueue = Sets.newHashSet();
+ public final it.unimi.dsi.fastutil.longs.LongSet unloadQueue = new it.unimi.dsi.fastutil.longs.LongArraySet(); // CraftBukkit Set -> LongSet + public final Set<Long> unloadQueue = Sets.newHashSet(); // PAIL: private -> public
public final ChunkGenerator chunkGenerator; public final ChunkGenerator chunkGenerator;
private final IChunkLoader chunkLoader; private final IChunkLoader chunkLoader;
public final Long2ObjectMap<Chunk> chunks = new Long2ObjectOpenHashMap(8192); public final Long2ObjectMap<Chunk> chunks = new Long2ObjectOpenHashMap(8192);