Skip to content

Commit

Permalink
升级jar
Browse files Browse the repository at this point in the history
  • Loading branch information
handy-git committed Jun 27, 2024
1 parent 22b3bd0 commit 8c6ae1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spigot-api.vesion>1.21-R0.1-SNAPSHOT</spigot-api.vesion>
<lombok.version>1.18.32</lombok.version>
<HandyLib.version>3.9.8</HandyLib.version>
<HandyLib.version>3.10.0</HandyLib.version>
<ip2region.version>2.7.0</ip2region.version>
<placeholderapi.version>2.10.5</placeholderapi.version>
</properties>
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/cn/handyplus/region/Ip2region.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -41,8 +40,6 @@ public void onEnable() {
@Override
public void onDisable() {
InitApi.disable();
// 关闭数据源
SqlManagerUtil.getInstance().close();
}

public static Ip2region getInstance() {
Expand Down

0 comments on commit 8c6ae1e

Please sign in to comment.