Skip to content

Commit

Permalink
💎 Fix translations not generating/updating when changed in config. Cl…
Browse files Browse the repository at this point in the history
…oses #48

Took 24 seconds
  • Loading branch information
kiranhart committed Oct 3, 2024
1 parent 96c9dbc commit fcfcdb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/ca/tweetzy/skulls/settings/Translations.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public final class Translations extends TranslationManager {

public Translations(@NonNull JavaPlugin plugin) {
super(plugin);
this.mainLanguage = Settings.LANG.getString();
}

public static final TranslationEntry MISC_IS_TRUE = create("conditionals.is true", "&ATrue");
Expand Down Expand Up @@ -219,6 +220,6 @@ public Translations(@NonNull JavaPlugin plugin) {


public static void init() {
new Translations(Skulls.getInstance()).setup();
new Translations(Skulls.getInstance()).setup(Skulls.getInstance());
}
}

0 comments on commit fcfcdb8

Please sign in to comment.