mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6666: NPE when deserializing bundle
By: md_5 <git@md-5.net>
This commit is contained in:
parent
dcfc8b355a
commit
f294d260b8
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