EbonJaeger / perworldinventory-kt

Multi-world inventory plugin for Spigot written in Kotlin.
MIT License
46 stars 35 forks source link

Using the Exit End Portal (created by defeating the dragon) causes Inventory loss #149

Open IStealYourRAM opened 5 years ago

IStealYourRAM commented 5 years ago

First time using github to report a issue, hope its okay.

Describe the bug When a Player enters a Exit End Portal which is generated after defeating the ender dragon and he returns to the main world (Lobby), the Inventory data is not saved and therefore lost, even when teleporting back into the "World group" the items are still missing along side the exp etc.

To Reproduce Long explaination: On our Server we currently use Multiverse, and have a Lobby World which has various portals to places etc. we also do have a extra world i will call "ExtraWorld" here. Since the "Extra World" also should have a nether and the end as well i also have a "ExtraWorld_nether" and "ExtraWorld_the_end", both work perfectly fine and the teleport process also works flawless, one of our players gathered enough end pearls to visit the end and also defeated the ender dragon and now tried to go through the end portal with his new loot, sadly upon appearing back in the Lobby after the credits rolled and returning back to the world he came from the items werent there but instead where missing.

  1. Player enters The end and defeats the ender dragon and enters the portal
  2. Credits roll as intended and player gets teleported back to the main world as intended (in this case "Lobby". (the end portal world was part of the group "ExtraWorld"/"ExtraWorld_nether" & "ExtraWorld_the_end")
  3. Now when returning to the world group again (in this case going into the portal at the lobby, instead of having the enderdragon loot/exp the inventory was completely wiped empty.

Expected behavior The inventory would stay saved in the specific world group and not be wiped, even though the portal teleports the player to the lobby (however technically its the same as using /spawn, which for example works fine, even /warp and /tp both didnt cause inventory loss and using the end exit portal seems to be the issue causing the data loss because its probably not being detected as a "teleport" out of the world group?

Plugin version

Server version Paper 1.14.3 | Update # 117 | (2019-06-28) (Github Update Commit)

Additional context and logs Errors Logs: When entering the portal no error entry gets created. Worlds Config: Hastebin Plugin Config: Hastebin

Thank you for taking your time to read this, have a nice day!

Symphonic3 commented 5 years ago

I am also having this issue.