mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Dont kill db on shutdown
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user