Closed RaynLegends closed 7 years ago
Bukkit threats null ItemStacks as "empty" while Nukkit does not. Using Pokkit, methods like player.getInventory().setChestplate(null) throw a NullPointerException instead of accepting the item as empty.
I think the change mentioned here should fix the issue everywhere in Pokkit. I hope it doesn't cause other side effects. 😄
That was exactly what I was planning to do, it should work :)
Bukkit threats null ItemStacks as "empty" while Nukkit does not. Using Pokkit, methods like player.getInventory().setChestplate(null) throw a NullPointerException instead of accepting the item as empty.