Fix additional exception when disabling dynmap after it fails to load

This commit is contained in:
jacob1 2025-10-07 20:53:19 -04:00
parent 05bb7dbe74
commit bd1bad44ea
No known key found for this signature in database
GPG key ID: 4E58A32D510E1995

View file

@ -1091,7 +1091,9 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
}
/* Disable core */
if (core != null) {
core.disableCore();
}
if(SnapshotCache.sscache != null) {
SnapshotCache.sscache.cleanup();