mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
Set correct world access on BSL snapshots
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user