Set correct world access on BSL snapshots

This commit is contained in:
Shane Freeder 2025-06-17 20:38:39 +01:00
parent 8318dcb74b
commit d2b1158e6c
No known key found for this signature in database
GPG key ID: A3F61EA5A085289C

View file

@ -97,6 +97,7 @@ public class BlockStateListPopulator extends DummyGeneratorAccess {
this.getMinecraftWorld().getWorld(), entry.getKey(), block.state(), block.blockEntity()
);
snapshot.setFlags(block.flags());
snapshot.setWorldHandle(this.level);
callback.accept(snapshot);
}
}