Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
RainbowTea opened this issue Oct 8, 2023 · 2 comments
Closed
1 task done

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

RainbowTea opened this issue Oct 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@RainbowTea
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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:

  • Restarted the server just incase a reboot would fix it.
  • I deop'd myself
  • Made sure I was a newbie rank on my server.
  • Right-clicked a shop sign, item is purchased and in my inventory. However, the right click to edit sign opens up. This has not happened before. It started occurring after I updated our server to 1.20.2.

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

@RainbowTea RainbowTea added the bug Something isn't working label Oct 8, 2023
@MacTh3Mac
Copy link

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants