4
1
mirror of https://e.coding.net/circlecloud/MiaoChat.git synced 2024-11-26 15:18:46 +00:00

fix: catch all throwable error

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2022-04-13 21:20:39 +08:00
parent 11fb155a37
commit 95591ec5ff
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>MiaoChat</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
<parent>
<groupId>pw.yumc</groupId>
@ -13,8 +13,9 @@
</parent>
<properties>
<update.description>§a正式版本 §bv2.1.1 §b兼容 1.18.2</update.description>
<update.description>§a正式版本 §bv2.1.2 §b兼容 1.18.2</update.description>
<update.changes>
§622-04-13 §c修复: 部分版本JDK导致启动错误;
§622-04-12 §a增强: 兼容 1.18.2 修复 PAPI 注销报错;
§622-02-25 §a增强: 新增 %a-z 自定义解析 实现神奇功能 兼容 1.18.1#133+;
§621-12-18 §a增强: 全新版本(号) 新增 itemTip 配合龙核 实现神奇功能

View File

@ -67,7 +67,7 @@ public class MiaoChat extends JavaPlugin implements Executor, PluginMessageListe
@Override
public void onDisable() {
try {this.expansion.unregister();} catch (Exception ignored) {}
try {this.expansion.unregister();} catch (Throwable ignored) {}
}
private void enableBungeeCord() {