Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-14 20:10:05 +01:00
Remove extra event debug. Doesn't help + issue is already identified
Dieser Commit ist enthalten in:
Ursprung
e6da53b4c4
Commit
b8d6b349b9
@ -1,31 +0,0 @@
|
||||
From 4bba0780bb9442a11f80d7cb1161ced1f1179532 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Thu, 14 Mar 2013 20:37:25 +1100
|
||||
Subject: [PATCH] Debug for Event Exceptions.
|
||||
|
||||
---
|
||||
src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java
|
||||
index 9c7288e..2477391 100644
|
||||
--- a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java
|
||||
+++ b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java
|
||||
@@ -424,8 +424,14 @@ public class JavaPluginLoader implements PluginLoader {
|
||||
}
|
||||
method.invoke(listener, event);
|
||||
} catch (InvocationTargetException ex) {
|
||||
+ server.getLogger().warning("==== Start Spigot Debug ===");
|
||||
+ ex.printStackTrace();
|
||||
+ server.getLogger().warning("==== End Spigot Debug ===");
|
||||
throw new EventException(ex.getCause());
|
||||
} catch (Throwable t) {
|
||||
+ server.getLogger().warning("==== Start Spigot Debug ===");
|
||||
+ t.printStackTrace();
|
||||
+ server.getLogger().warning("==== End Spigot Debug ===");
|
||||
throw new EventException(t);
|
||||
}
|
||||
}
|
||||
--
|
||||
1.8.1-rc2
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren