Fix additional exception when disabling dynmap after it fails to load
This commit is contained in:
parent
05bb7dbe74
commit
bd1bad44ea
1 changed files with 3 additions and 1 deletions
|
|
@ -1091,7 +1091,9 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable core */
|
/* Disable core */
|
||||||
|
if (core != null) {
|
||||||
core.disableCore();
|
core.disableCore();
|
||||||
|
}
|
||||||
|
|
||||||
if(SnapshotCache.sscache != null) {
|
if(SnapshotCache.sscache != null) {
|
||||||
SnapshotCache.sscache.cleanup();
|
SnapshotCache.sscache.cleanup();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue