From 95298f3e739b7a00c5f36bbeffaaf073906f0c96 Mon Sep 17 00:00:00 2001 From: Izzel_Aliz Date: Sun, 24 Jun 2018 10:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E5=BC=82=E5=B8=B8=E9=83=BD?= =?UTF-8?q?=E8=A6=81=E5=A5=BD=E5=A5=BD=E7=9A=84=E6=8A=93=E8=B5=B7=E6=9D=A5?= =?UTF-8?q?=E5=91=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ilummc/tlib/TLib.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ilummc/tlib/TLib.java b/src/main/java/com/ilummc/tlib/TLib.java index 0c5c7d7..2b0e2b4 100644 --- a/src/main/java/com/ilummc/tlib/TLib.java +++ b/src/main/java/com/ilummc/tlib/TLib.java @@ -99,7 +99,7 @@ public class TLib { field.setAccessible(true); field.set(Bukkit.getServer(), new TPluginManager()); TLocale.Logger.info("TLIB.INJECTION-SUCCESS"); - } catch (NoSuchFieldException | IllegalAccessException ignored) { + } catch (NoSuchFieldException | IllegalAccessException | IllegalArgumentException ignored) { TLocale.Logger.fatal("TLIB.INJECTION-FAILED"); for (Plugin plugin : Bukkit.getPluginManager().getPlugins()) { if (plugin != Main.getInst()) TDependencyInjector.inject(plugin, plugin);