This commit is contained in:
gnembon committed 2021-07-14 00:57:37 -03:00
1 parent fd3c8290cf
commit 4dd3cc7fd6
6 files changed
+10 -10

No files matched your search

@@ -96,10 +96,10 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
public static Value fromStack(ItemStack stack)
{
if (stack.hasTag())
if (stack.hasNbt())
{
NBTSerializableValue value = new NBTSerializableValue();
value.nbtSupplier = stack::getTag;
value.nbtSupplier = stack::getNbt;
return value;
}
return Value.NULL;