Don't use weak/soft references for keys, attempt to lessen memory impact further

This commit is contained in:
Dinnerbone
2011-07-16 02:55:54 +01:00
parent c101c3553b
commit e4edbf288d
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ import net.minecraft.server.WorldChunkManager;
public class CraftChunk implements Chunk {
private WeakReference<net.minecraft.server.Chunk> weakChunk;
private final ConcurrentMap<Integer, Block> cache = new MapMaker().softKeys().softValues().makeMap();
private final ConcurrentMap<Integer, Block> cache = new MapMaker().softValues().makeMap();
private WorldServer worldServer;
private int x;
private int z;