FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

It doesn't show me lava when I'm doing set block via API

AdamGrabowiecki opened this issue ยท 1 comments

commented

Server Implementation

Paper

Server Version

1.18.2

Describe the bug

My code:
RandomPattern pat = new RandomPattern(); CuboidRegion region = new CuboidRegion(BlockVector3.at(-50, arena.getLavaLevel(), 50), BlockVector3.at(50, arena.getLavaLevel(), -50)); EditSession editSession = WorldEdit.getInstance().newEditSession(new BukkitWorld(arena.getWorld())); pat.add(BukkitAdapter.adapt(Material.LAVA.createBlockData()), 100.0); editSession.setBlocks((Set<BlockVector3>) region, pat);
Lava is invisible but deals damage

To Reproduce

.

Expected behaviour

.

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

not required

Fawe Version

latest

Checklist

Anything else?

No response

commented

I recommend you to read about the concepts you're using, especially about EditSessions (https://worldedit.enginehub.org/en/latest/api/concepts/edit-sessions/). If you need further assistance, feel free to join our discord.