Set correct world access on BSL snapshots
This commit is contained in:
parent
8318dcb74b
commit
d2b1158e6c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue