[SPIGOT-1409] Item attributes stuck to players (base NBT tag levels incorrect) Created: 09/Jan/16 Updated: 13/Jan/16 Resolved: 13/Jan/16 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Mithrandir | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | 1.8.8, bug, nbt |
Plugin: | MythicMobs (Not really it's fault, but could cause this increasedly, as you can generate many more attributes for items which could get stuck to players) |
Description |
I consider this a major bug. It ruins any PvP server. The issue: Players sometimes get their base stats (NBT data) stuck on a specific value. Example: say during a normal PvP, you are wearing an armor with a +10 health points attribute. Or a sword with 9 damage attribute. There's somehow a slight (small) possibility that these attributes get stuck to your player's base stats (permanently modifying the NBT tags related to these attributes), and therefore, without wearing such mentioned attributed armors or weapons, your player inflicts 9 damage by punching, or has +10 health even without wearing an armor with bonus health. This issue occurs seemingly randomly (for what I know), but there has been some reports on how to produce it. It cannot be undone by re-entering the server. A possible temporal solution: If this is so hard to fix, (because i've seen this happen for more than a year now), please add an option for resetting player's NBT tags to default when they log out and back in, on the Spigot configuration file. |
Comments |
Comment by Black Hole [ 10/Jan/16 ] |
Duplicate of |
Comment by Mithrandir [ 10/Jan/16 ] |
Authme Reloaded sets a protection inventory for pre-login. Apart from that, I can't imagine what plugin would be removing an item on join. |
Comment by Shevchik [ 09/Jan/16 ] |
Not randomly. It occurs when plugin removes item at PlayerJoinEvent and doesn't give them back. |
Comment by SpigotMC [ 09/Jan/16 ] |
Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 1 version(s) behind. CraftBukkit is 3 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue. |