mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -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()
|
this.getMinecraftWorld().getWorld(), entry.getKey(), block.state(), block.blockEntity()
|
||||||
);
|
);
|
||||||
snapshot.setFlags(block.flags());
|
snapshot.setFlags(block.flags());
|
||||||
|
snapshot.setWorldHandle(this.level);
|
||||||
callback.accept(snapshot);
|
callback.accept(snapshot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user