EbonJaeger / perworldinventory-kt

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

Conflict with KeepXP from EssentialsX and PerWorldInventory 2.3.2 #180

Open Melvout opened 4 years ago

Melvout commented 4 years ago

Hi !

Bug description

I think there is a conflict between the latest PerWorldInventory plugin and EssentialsX plugin.

We found out a problem while using the permission KeepXP from EssentialsX that normally prevents losing your xp when dying and the PerWorldInventory plugin : It doesn't work correctly, the player loses his xp. However if a player has the KeepInv permission from EssentialsX that normally keeps his inventory upon death : The player keeps his stuff and he keeps his xp whilst it should only keeps his stuff.

We tried on a test server with only EssenstialsX and PermissionEx plugin : No problems detected. But as soon as we add PerWorldInventory the problem appears.

The config line exp ( keeping xp through different worlds ) from PerWorldInventory plugin either on true or false doesn't change anything.

No outputs are displayed in the console.

After another test : It's working correctly with the version 2.3.1 of PerWorldInventory plugin.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

We should have a KeepXP permission from EssentialsX that works correctly ie keeps XP upon death. Also KeepInv permission should only keep stuff and not XP.

Plugins version & server version

image

Expecting that you could find out where the problem comes from. Thanks for your work !

EbonJaeger commented 4 years ago

Looks like a side-effect of #153 and https://hub.spigotmc.org/jira/browse/SPIGOT-2222. Hrm...

kakduman commented 4 years ago

I'm having the same issue and am able to reproduce it on a 1.16.1 server (Paper-131) with just EssentialsX (2.18.0.8), LuckPerms (5.1.86), and the latest PerWorldInventory. The true/false option in the config for exp also has no effect on the bug.