Merge pull request #2498 from stormboomer/v3.0
Added functionality for restarting the scheduled job that stores markers
This commit is contained in:
commit
881b7dfefd
3 changed files with 10 additions and 2 deletions
|
|
@ -796,6 +796,12 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
if(core != null){
|
||||
if(core.getMarkerAPI() != null){
|
||||
getLogger().info("Starting Scheduled Write Job (markerAPI).");
|
||||
core.restartMarkerSaveJob();
|
||||
}
|
||||
}
|
||||
if (helper == null) {
|
||||
Log.info("Dynmap is disabled (unsupported platform)");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue