IntellectualSites / IntellectualSites/FastAsyncWorldEdit
ExtentEntityCopy does nothing when used with a non-IChunkExtent
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 806
- Forks
- 394
- Avg merge
- 22h 19m
- Merged PRs (30d)
- 14
Description
Server Implementation
Paper
Server Version
1.20.2
Describe the bug
ExtentEntityCopy hits the default implementation of Extent.createEntity
when trying to use it with a BukkitAdapter.adapt(world). A quick investigation leads to the following line:
IChunkExtent, being a FAWE construct, breaks compatibility.
To Reproduce
Use reproduction steps from #2445.
Expected behaviour
Some sorta automatic fallback? Not sure.
Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/f05eca59ab7a4e188ced658f1f9ffa4c
Fawe Version
FastAsyncWorldEdit version 2.8.0
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with worldedit-core/src/main/java/com/sk89q/worldedit/extent/Extent.java around createEntity and worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java around the BukkitAdapter path. Reproduce the case using the steps from #2445 and the linked debugpaste, focusing on ExtentEntityCopy with a non-IChunkExtent. Done means entity copying works through BukkitAdapter.adapt(world) without falling into the ineffective default implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100