handled proper null value for nbt
This commit is contained in:
1 parent
f0054564fe
commit
8294c79428
2 files changed
+29
-9
No files matched your search
@@ -51,7 +51,7 @@ public class ListValue extends AbstractListValue implements ContainerValueInterf
|
||||
return ListValue.of(
|
||||
new StringValue(Registry.ITEM.getId(itemstack.getItem()).getPath()),
|
||||
new NumericValue(itemstack.getCount()),
|
||||
new NBTSerializableValue(itemstack)
|
||||
NBTSerializableValue.fromStack(itemstack)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user