13
0
geforkt von Mirrors/Paper

SPIGOT-2270: Retain Java 6 compat

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-05-12 12:09:28 +10:00
Ursprung bc420eace5
Commit d94f1ebe37

Datei anzeigen

@ -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);