Add softref option for chunk snapshot cache
This commit is contained in:
parent
5bc4de6a8b
commit
b85c38e3a7
3 changed files with 18 additions and 7 deletions
|
|
@ -843,7 +843,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
return;
|
||||
}
|
||||
playerList = core.playerList;
|
||||
sscache = new SnapshotCache(core.getSnapShotCacheSize());
|
||||
sscache = new SnapshotCache(core.getSnapShotCacheSize(), core.useSoftRefInSnapShotCache());
|
||||
|
||||
/* Get map manager from core */
|
||||
mapManager = core.getMapManager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue