diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java index d7abc0f5..045b5b41 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -210,11 +210,11 @@ public final class CraftMagicNumbers implements UnsafeValues { } @Override - public byte[] processClass(PluginDescriptionFile pdf, byte[] clazz) { + public byte[] processClass(PluginDescriptionFile pdf, String path, byte[] clazz) { try { clazz = Commodore.convert(clazz, !isLegacy(pdf)); } 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; |