Skip to content

Commit

Permalink
Move apiHandler back into preConfigurationLoad()
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Nov 24, 2023
1 parent fd60cbc commit e1183d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/rappytv/globaltags/GlobalTagAddon.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ public class GlobalTagAddon extends LabyAddon<GlobalTagConfig> {
@Override
protected void preConfigurationLoad() {
Laby.references().revisionRegistry().register(new SimpleRevision("globaltags", new SemanticVersion("1.1.0"), "2023-11-24"));
this.apiHandler = new ApiHandler();
addon = this;
}

@Override
protected void enable() {
registerSettingCategory();
this.apiHandler = new ApiHandler();
addon = this;
version = addon.addonInfo().getVersion();

TagRegistry tagRegistry = labyAPI().tagRegistry();
Expand Down

0 comments on commit e1183d6

Please sign in to comment.