geforkt von Mirrors/Paper
Include class path in legacy conversion errors.
Dieser Commit ist enthalten in:
Ursprung
3b8f5be77b
Commit
b94fd7c7e4
@ -210,11 +210,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public byte[] processClass(PluginDescriptionFile pdf, byte[] clazz) {
|
public byte[] processClass(PluginDescriptionFile pdf, String path, byte[] clazz) {
|
||||||
try {
|
try {
|
||||||
clazz = Commodore.convert(clazz, !isLegacy(pdf));
|
clazz = Commodore.convert(clazz, !isLegacy(pdf));
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
Bukkit.getLogger().log(Level.SEVERE, "Fatal error trying to convert " + pdf.getFullName(), ex);
|
Bukkit.getLogger().log(Level.SEVERE, "Fatal error trying to convert " + pdf.getFullName() + ":" + path, ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
return clazz;
|
return clazz;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren