TheCBProject / EnderStorage

MIT License
60 stars 34 forks source link

display name changes interfere with chest linking #113

Closed LincT closed 5 years ago

LincT commented 5 years ago

There are a few mods that change one's display name. When this is changed, it tends to interfere with successfully linking ender chests (not ender pouches, sicne those copy the data from )

The mod from this instance of the issue was more player models. (which stores a display name in the player nbt data). This issue might be reproduceable if one changes their player name through traditional means as well

I haven't dug into the code yet, but I was thinking a fix for this might be to link chests via uuid of the player, and to query the server for the player name to display if that was possible?

Steps to reproduce: (requires more player models for 1.12 installed) 1) place an ender chest 2) lock it with a diamond 3) place another ender chest of the same color combination 4) use ./mpm name 5) lock second chest with diamond 6) place item in either chest, it will not transfer to the other

covers1624 commented 5 years ago

Fixed in 1.14 port, not being backported.