mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2025-01-24 17:11:20 +01:00
Uses new API to support other addon flags
This commit is contained in:
parent
73c08f5072
commit
7f69872d09
@ -56,8 +56,6 @@ public class AcidIsland extends GameModeAddon {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Save settings
|
|
||||||
saveWorldSettings();
|
|
||||||
return true;
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user