
[1.21.4] ClassCastException: EntityTickList → PersistentEntitySectionManager when copying entities in PaperweightPlatformAdapter
Closed this issue · 1 comments
Server Implementation
Spigot
Server Version
1.21.4
Describe the bug
When running /duels arenaregen create on Spigot 1.21.4, FAWE throws a ClassCastException in PaperweightPlatformAdapter.getEntities() while Arena Regen is attempting to save a schematic.
It appears FAWE is still trying to cast net.minecraft.world.level.entity.EntityTickList to net.minecraft.world.level.entity.PersistentEntitySectionManager, but in 1.21.x these are no longer compatible types due to changes in Mojang’s internal entity management.
This crash occurs before Arena Regen can finish saving the arena schematic and happens 100% of the time when the command is run.
Though i think the issue might be from an outside source but for now i can only see this error coming from FAWE.
I've also made a support ticket to the developers of the Duels plugin i am using but i am just talking to a brick wall. For the past 3 days none of them have replied to me despite seeing the ticket
To Reproduce
Run a Spigot 1.21.4 server.
Install the following plugins:
FastAsyncWorldEdit 2.13.2-SNAPSHOT build 1160
Duels Optimised 4.2
Arena Regen 6.30 (Duels extension)
Join the server as a player.
Run the command:
/duels arenaregen create (name)
Observe the server console — a ClassCastException occurs and the command fails.
Expected behaviour
Expected to just create the Arena Regen by making the schematic ti used to work before something happened. Problem is that i don't know what exactly happened to cause this
Screenshots / Videos
No response
Error log (if applicable)
https://gist.github.com/DarkSanS77/925fb4303d16bea871a54f1667f9697e
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/ddf6f6acd408457e8df9ec4a089e160e
Fawe Version
FastAsyncWorldEdit-2.13.2-SNAPSHOT-1160
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