This commit is contained in:
gnembon committed 2024-03-27 21:57:05 +01:00
1 parent d4e1976ff8
commit d7468ac561
6 files changed
+16 -8

No files matched your search

@@ -828,7 +828,7 @@ public class WorldAccess
destTag.putInt("x", targetPos.getX());
destTag.putInt("y", targetPos.getY());
destTag.putInt("z", targetPos.getZ());
be.load(destTag, world.registryAccess());
be.loadWithComponents(destTag, world.registryAccess());
be.setChanged();
success = true;
}
@@ -433,7 +433,7 @@ public class ShapesRenderer
BlockEntity.setLevel(client.level);
if (shape.blockEntity != null)
{
BlockEntity.load(shape.blockEntity, client.level.registryAccess());
BlockEntity.loadWithComponents(shape.blockEntity, client.level.registryAccess());
}
}
}