File tree Expand file tree Collapse file tree
src/main/java/org/milkteamc/autotreechop Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ public void onEnable() {
122122 // Register event listeners
123123 registerEvents ();
124124
125+ // Initialize translation system
126+ translationManager = new TranslationManager (this );
127+ loadLocale ();
128+
125129 // Register commands
126130 var lamp = BukkitLamp .builder (this ).build ();
127131 lamp .register (new ReloadCommand (this , config ));
@@ -130,10 +134,6 @@ public void onEnable() {
130134 lamp .register (new UsageCommand (this , config ));
131135 lamp .register (new ConfirmCommand (this ));
132136
133- // Initialize translation system
134- translationManager = new TranslationManager (this );
135- loadLocale ();
136-
137137 if (Bukkit .getPluginManager ().isPluginEnabled ("PlaceholderAPI" )) {
138138 new AutoTreeChopExpansion (this ).register ();
139139 getLogger ().info ("PlaceholderAPI expansion for AutoTreeChop has been registered." );
You can’t perform that action at this time.
0 commit comments