snowgears / shopbugs

Shop bug tracker
8 stars 4 forks source link

[BUG] Right clicking to pay opens up sign editing. #415

Closed RainbowTea closed 2 months ago

RainbowTea commented 1 year ago

Is there an existing issue for this?

Type of bug

Other unexpected behaviour

Environment

- Server Version: This server is running Paper version git-Paper-222 (MC: 1.20.2)
- Shop Version: Shop-1.8.4.5.jar

Server startup log

https://gist.github.com/RainbowTea/e7ca8fe930d6ee114ecdeeb7e40939c4

Shop config files

https://gist.github.com/RainbowTea/05154c771e7013bb46de47bac02bec1a

Error log (if applicable)

None as far as I can tell when I make a shop purchase.

Bug description

Bug:

Right clicking sign with diamond in hand to make a purchase opens up the sign editing. It never did this before. Item is successfully purchased but sign edit menu should not open.

Video: https://drive.google.com/file/d/1GN6gDLLV5HxfIrotlXUSXN92UipsNIML/view?usp=sharing

Steps to reproduce

How I tested it:

Expected behaviour

Players should not be able to edit a shop sign that is not theirs.

Actual behaviour

Sign editing opens when it should not.

Other information

No response

MacTh3Mac commented 11 months ago

Similar Issue to #409 The solution to both these issues would be to set the iseditable flag to false or Convert to a waxed sign the moment to shop is actually created. It would however potentially restrict backwards compatibility to older minecraft versions.

OstlerDev commented 2 months ago

This has been fixed in my testing, feel free to open a new bug report if this is still an issue for you!