[ci skip] Minor patch cleanup

This commit is contained in:
Nassim Jahnke
2022-10-03 19:07:03 +02:00
parent b483d1d056
commit ad03c22822
2 changed files with 13 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
+ // Paper start
+ if (Boolean.getBoolean("Paper.printStacktraceOnBadPluginClassAccess")) {
+ new Exception().printStackTrace();
+ (plugin != null ? plugin.getLogger() : loader.server.getLogger()).log(Level.WARNING, "Stacktrace", new Exception());
+ }
+ // Paper end
}