This commit is contained in:
gnembon committed 2021-09-18 08:46:27 -03:00
1 parent 70754dbfe8
commit bc175509a2
24 files changed
+155 -113

No files matched your search

@@ -118,13 +118,12 @@ public class BlockValue extends Value
if (world != null && pos != null)
{
BlockEntity be = getBlockEntity(world, pos);
NbtCompound tag = new NbtCompound();
if (be == null)
{
data = tag;
data = new NbtCompound();
return null;
}
data = be.writeNbt(tag);
data = be.method_38244(); // toNBT
return data;
}
return null;