Open cyberkitsune opened 2 years ago
Having PlaceholderAPI as a depend wouldn't solve anything as it doesn't change when ATO gets enabled.
PlaceholderAPI has three distinct phases:
As you may guess by the above list is the issue that expansions are loaded after the server is "done" with starting up while ATO loads tab lists much earlier in the process (probably during its own enable phase).
The best solution for ATO here is to look for the ExpansionsLoadedEvent
from PlaceholderAPI which gives a clear indicator of when all expansions got loaded.
@cyberkitsune CodeCrafter pushed a change to ATO to hopefully fix the issue. Could you try out the latest dev version and let us know if the issue is resolved by it?
Link to latest dev build: https://ci.codecrafter47.de/job/AdvancedTabOverlay/165/
I'm currently having an issue where my AdvancedTabOverlay complains a placeholder doesn't exist at server startup, but PAPI registers it shortly after AdvancedTabOverlay loads. This means the placeholder is ignored until I run /advancedtaboverlay reload once.
I suppose a potential solution to this would to re-evaulate the placeholders later on during enable, or possibly have PAPI as a depend and not a softdepend? (not ideal)