Skip to content

Commit

Permalink
Remove unused addon property
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Jul 6, 2024
1 parent 26cff75 commit bc7b8b3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,19 @@ public class GlobalTagAddon extends LabyAddon<GlobalTagConfig> {
public static Component prefix = Component.empty()
.append(Component.text("GlobalTags").color(NamedTextColor.BLUE).decorate(TextDecoration.BOLD))
.append(Component.text(" » ", NamedTextColor.DARK_GRAY));
private static GlobalTagAddon addon;

@Override
protected void preConfigurationLoad() {
Laby.references().revisionRegistry().register(new SimpleRevision("globaltags", new SemanticVersion("1.1.0"), "2023-11-24"));
Laby.references().revisionRegistry().register(new SimpleRevision("globaltags", new SemanticVersion("1.1.7"), "2024-02-27"));
Laby.references().revisionRegistry().register(new SimpleRevision("globaltags", new SemanticVersion("1.1.9"), "2024-06-01"));
Laby.references().revisionRegistry().register(new SimpleRevision("globaltags", new SemanticVersion("1.2.0"), "2024-07-06"));
addon = this;
}

@Override
protected void enable() {
registerSettingCategory();
ApiRequest.addonVersion(addon.addonInfo().getVersion());
ApiRequest.addonVersion(addonInfo().getVersion());

TagRegistry tagRegistry = labyAPI().tagRegistry();
for (PositionType positionType : PositionType.values())
Expand Down

0 comments on commit bc7b8b3

Please sign in to comment.