We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a46be commit 68d8180Copy full SHA for 68d8180
src/main/java/me/flame/menus/components/nbt/LegacyNbt.java
@@ -76,7 +76,7 @@ public final class LegacyNbt implements NbtWrapper {
76
asNMSCopyMethod = craftItemStackClass.getMethod("asNMSCopy", ItemStack.class);
77
asBukkitCopyMethod = craftItemStackClass.getMethod("asBukkitCopy", craftItemStack);
78
} catch (NoSuchMethodException e) {
79
- Bukkit.getLogger().log(Level.SEVERE, e.getMessage(), e);
+ throw new RuntimeException(e.getMessage());
80
}
81
82
0 commit comments