mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-27 18:59:10 +00:00
Correctly close Languagy file watcher
This commit is contained in:
@@ -120,6 +120,8 @@ public final class RPGRegions extends JavaPlugin implements IRPGRegionsAPI {
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
translator.close();
|
||||
|
||||
if (managers == null || managers.getRegionsCache() == null || managers.getStorageManager() == null) {
|
||||
getLogger().warning("Unable to save data as managers were null");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user