Dont kill db on shutdown

This commit is contained in:
Maxopoly
2020-04-25 01:14:43 +02:00
parent e70f9576c8
commit a468a9fbef

View File

@@ -88,13 +88,6 @@ public class NameLayerPlugin extends ACivMod{
@Override
public void onDisable() {
if (db != null) {
try {
db.close();
} catch (Exception e) {
getLogger().log(Level.INFO, "Failed to close database gracefully on shutdown.", e);
}
}
}
public static NameLayerPlugin getInstance(){