Uses new API to support other addon flags

This commit is contained in:
tastybento 2019-09-13 21:02:20 -07:00
parent 73c08f5072
commit 7f69872d09

View File

@ -56,8 +56,6 @@ public class AcidIsland extends GameModeAddon {
}
return false;
}
// Save settings
saveWorldSettings();
return true;
}
@ -157,4 +155,13 @@ public class AcidIsland extends GameModeAddon {
}
}
/* (non-Javadoc)
* @see world.bentobox.bentobox.api.addons.Addon#allLoaded()
*/
@Override
public void allLoaded() {
// Reload settings and save them. This will occur after all addons have loaded
this.loadSettings();
this.saveWorldSettings();
}
}