Closed czerk89 closed 5 months ago
Okay, so this issue was specific to Multiverse. Turns out the LIMIT-SWITCH was triggering before WORLD-SWITCH and the world-switching was using the previously cached gamemode at the time of entering the creative world. This was due to the items-Delay defined in the items.yml.
I have made it so only the limit-switch trigger passes the gamemode while others like (respawn, world-switch, join, etc) check at the time of giving the item instead of using a cached instance.
Link; https://ci.craftationgaming.com/downloads Remember to remove your old ItemJoin.jar file
Seems to be working well now. Let me know!~
EDIT: Offical release is now available; Link; https://www.spigotmc.org/resources/itemjoin.12661/download?version=542784
Server Version
paper-1.20.4-454
Resource Version
6.0.6-SNAPSHOT-b978
Dump Information
https://ci.craftationgaming.com/dump?id=utiyorutim
Describe The Bug
Using
limit-modes: SURVIVAL, ADVENTURE
causes the item to generate in a CREATIVE world on world-switch. But usinglimit-modes: SURVIVAL
does not cause the item to generate in a CREATIVE world on world-switch.Expected Behavior
The item shouldn't generate in a CREATIVE world when
limit-modes: SURVIVAL, ADVENTURE
is set.Steps To Reproduce
/mvtp
into the creative world. You'll have thesuperhero-item
when you shouldn't.But if you change
limit-modes
tolimit-modes: SURVIVAL
, then it works. Using both SURVIVAL & ADVENTURE causes it not to work. But only SURVIVAL works.Additional Info
No response
Checklist