Make marker API stay loaded across /dynmap reload (screws up API users otherwise)
This commit is contained in:
parent
e81564c1ae
commit
09637f293e
2 changed files with 10 additions and 13 deletions
|
|
@ -368,10 +368,9 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
ll.clear(); /* Empty list - we use presence of list to remember that we've registered with Bukkit */
|
||||
}
|
||||
playerfacemgr = null;
|
||||
if(markerapi != null) {
|
||||
markerapi.cleanup(this);
|
||||
markerapi = null;
|
||||
}
|
||||
|
||||
/* Don't clean up markerAPI - other plugins may still be accessing it */
|
||||
|
||||
Debug.clearDebuggers();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue