-
Notifications
You must be signed in to change notification settings - Fork 27
NullPointerException in EnchantmentWrapper.getStartLevel #31
Comments
|
Also, quoting me won't automagically make me impelment that, I'm not messing around with Nukkit (and Pokkit) until 0.16.0 is released and Nukkit is updated to 0.16.0. |
Ok ,sorry. I'm created with one answer . thx |
I'm reopening this issue. Although I personally have no interest in fixing this right now, it is still a valid bug report, so it can be left open. |
Ok @rutgerkok :) |
Plugin: https://www.spigotmc.org/resources/kit.24164/
Error: 20:52:05 [ALERT] java.lang.NullPointerException
at org.bukkit.enchantments.EnchantmentWrapper.getStartLevel(EnchantmentWrapper.java:29)
at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:437)
at fr.werter.kit.item(kit.java:91)
at fr.werter.kit.onCommand(kit.java:156)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:279)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
The text was updated successfully, but these errors were encountered: