船新两个 Sendable Json 和 ActionBar

This commit is contained in:
Izzel_Aliz
2018-04-29 22:32:39 +08:00
parent da8890b30a
commit 19b4bd9a6b
10 changed files with 453 additions and 245 deletions

View File

@@ -37,9 +37,10 @@ class TLocaleInstance {
Bukkit.getScheduler().runTask(plugin, () -> sendable.sendTo(sender, args));
}
});
} catch (Exception e) {
} catch (Exception | Error e) {
TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getTLib().getInternalLang().getString("SEND-LOCALE-ERROR"), path));
TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getTLib().getInternalLang().getString("LOCALE-ERROR-REASON"), e.getMessage()));
TLib.getTLib().getLogger().error(Strings.replaceWithOrder(TLib.getTLib().getInternalLang().getString("LOCALE-ERROR-REASON"), e.toString()));
e.printStackTrace();
}
}