It doesn't show me lava when I'm doing set block via API
AdamGrabowiecki opened this issue ยท 1 comments
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
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response
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.