SPIGOT-6529: Fix BundleMeta#setItems

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2021-06-13 08:48:13 +10:00
parent f7478ccc32
commit 3e7e42a371

View File

@ -116,7 +116,7 @@ public class CraftMetaBundle extends CraftMetaItem implements BundleMeta {
@Override
public void setItems(List<ItemStack> items) {
items = null;
this.items = null;
if (items == null) {
return;