CleverNucleus/playerex

[PlayerEx][Multiplayer] Players can continue to use level up on server when datapack limits level

Closed this issue · 4 comments

Version:
3.5.0 and 3.5.1

Observed:
While using the provided examples in the FAQ section to make a datapack that restricts player max level to 20, the datapack works on singleplayer worlds. When on a server with the datapack, the player's level stops progressing at 20, but they can still press the level up button and are rewarded with additional skill points. Even attributes, which in the datapack were capped at 20, can have a player put skill points in them, though this will not increase the stat (button is not greyed out, still selectable.)

Repro Rate: 3/3

Steps to Reproduce:

Additionally, when using this pack on a single player world, and then loading into the server, the issue is not present. But if they load a singleplayer world without the datapack and then return to the server the issue is present again.

After some additional testing, this issue appears to only be present with Data Attributes v1.4.1.

Hi there,
I've looked into this - it appears the latest release of Data Attributes has broken PlayerEx. I will hopefully output a fix in the coming week.
Thanks.

Root cause is this issue; therefore, closing this issue now as it is a duplicate.