fixed couple of issues

This commit is contained in:
YouHaveTrouble
2021-02-19 18:21:00 +01:00
parent 8626d79825
commit 53fea43077
4 changed files with 11 additions and 10 deletions
@@ -33,6 +33,7 @@ public final class TogglePvp extends JavaPlugin {
getLogger().severe("Error with accessing database. Check if server has write rights.");
getLogger().severe("Plugin will now disable.");
getServer().getPluginManager().disablePlugin(this);
return;
}
playerManager = new PlayerManager();