added method to call marker save scheduled job to Dynmap Core, so that MarkerAPIImpl can be private and might not be used directly by other devs.
This commit is contained in:
parent
449ceffe1e
commit
77f3677348
2 changed files with 6 additions and 4 deletions
|
|
@ -791,9 +791,9 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
@Override
|
||||
public void onEnable() {
|
||||
if(core != null){
|
||||
if(core.markerapi != null){
|
||||
if(core.getMarkerAPI() != null){
|
||||
getLogger().info("Starting Scheduled Write Job (markerAPI).");
|
||||
core.markerapi.scheduleWriteJob();
|
||||
core.restartMarkerSaveJob();
|
||||
}
|
||||
}
|
||||
if (helper == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue