mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-6666: NPE when deserializing bundle
This commit is contained in:
parent
8dfa97afe4
commit
82f0955b3b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class CraftMetaBundle extends CraftMetaItem implements BundleMeta {
|
|||
if (items != null) {
|
||||
for (Object stack : items) {
|
||||
if (stack instanceof ItemStack) {
|
||||
this.items.add((ItemStack) stack);
|
||||
addItem((ItemStack) stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue