PGM icon indicating copy to clipboard operation
PGM copied to clipboard

Locked armor can be removed by stacking

Open RuedigerLP opened this issue 5 years ago • 1 comments

u can only lock items in the armor slot, im not sure if this is a bug or a missing feature and if u put e.g. locked wool into a players head slot they can glitch it out if they have some wool in their inventory and double click it to stack all items up also removing the locked one

RuedigerLP avatar Jan 12 '20 23:01 RuedigerLP

Just checked the documentation for this.

You can use the prevent-sharing attribute for general items on the inventory that you don't want players to share, but they'll still be allowed to move the item as long as it doesn't leave their inventory.

For armor only, you also have the locked attribute, wich prevents the player from removing that piece of armor.

Seems like locked on armor, doesn't take into account you double-click stacking moving that item away.

Pablete1234 avatar Jan 24 '20 20:01 Pablete1234