Closed pauldpickell closed 1 year ago
@Lowie375 Is it possible that the voxel manipulator in Realm:GenerateTerrain()
is overwriting the barriers generated in mc_worldManager.GetCreateInstancedRealm()
?
Stack Trace:
new_realm = mc_worldManager.GetCreateInstancedRealm(realm_name, player, nil, true, realm_size)
realm:CreateBarriers()
new_realm:GenerateTerrain(rgi.seed, rgi.sea_level, rgi.height_func, rgi.dec_func, param_table)
I haven't looked at this code since last year so I might be mistaken, but I just wanted to pop in and see if realm:CreateBarriers() is being called when creating empty worlds.
E.g., see how schematics are being spawned:
I'll look at this issue further later this week if this hasn't been resolved by then.
Yes, realm:CreateBarriers()
is called during mc_worldManager.GetCreateInstancedRealm
.
Just as a simple test, the chat commands seem to create the realm, barriers, and terrain as expected on the server:
\realm new
\realm gen [realmid] v1 v1 1234 30
Now I am just realizing the the barriers are created again at the end of the "gen" command.
Fixed by 5537976.
Describe the bug When an instanced classroom is created with the "empty world" option selected, it does not have walls.
To Reproduce Steps to reproduce the behavior:
Expected behavior All classrooms should have walls. This does not seem to occur with the "schematic" option.