diff --git a/pom.xml b/pom.xml index 4cff322..afdaa6e 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ UTF-8 1.21-R0.1-SNAPSHOT 1.18.32 - 3.9.8 + 3.10.0 2.7.0 2.10.5 diff --git a/src/main/java/cn/handyplus/region/Ip2region.java b/src/main/java/cn/handyplus/region/Ip2region.java index 6854f3c..2cd6e7e 100644 --- a/src/main/java/cn/handyplus/region/Ip2region.java +++ b/src/main/java/cn/handyplus/region/Ip2region.java @@ -2,7 +2,6 @@ import cn.handyplus.lib.InitApi; import cn.handyplus.lib.constants.BaseConstants; -import cn.handyplus.lib.db.SqlManagerUtil; import cn.handyplus.lib.util.MessageUtil; import cn.handyplus.region.constants.BaseIpConstants; import cn.handyplus.region.hook.PlaceholderUtil; @@ -41,8 +40,6 @@ public void onEnable() { @Override public void onDisable() { InitApi.disable(); - // 关闭数据源 - SqlManagerUtil.getInstance().close(); } public static Ip2region getInstance() {