PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

Cant use '/plot [X;Z] set' when transferring Plotownership and setting deny *

Open 0x484 opened this issue 1 year ago • 1 comments

Server Implementation

Paper

Server Version

1.20

Describe the bug

When trying any Command using '/plot [X;Z] set' and the Plot isn't owned by the Original Player who claimed it and the Plot has set deny to * it will not work and say "This is not a valid subcommand" (Skipping [X;Z] and standing on the plot still works)

To Reproduce

  1. '/p claim' a plot
  2. '/p setowner' any other player
  3. '/p deny *'
  4. '/p X;Z set border stone'
  5. see error. (Set either the original owner again or remove * and it will work again)

Expected behaviour

'/p X;Z set' should always work.

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/8196f5bcdd2447c2bc4e775e0f2a74b2

PlotSquared Version

7.3.4-Premium

Checklist

  • [X] I have included a Plot debugpaste.
  • [X] I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.

Anything else?

No response

0x484 avatar Feb 17 '24 01:02 0x484

Can reproduce it with Paper 1.20.4 and Plotsquared 7.3.6-SNAPSHOT using FAWE-669 https://athion.net/ISPaster/paste/view/f2b44f0b0e7644119eebd735847c1c0c

Also interesting is that blindly typing /p X;Z set border stone instead of the plot id while * is denied on the plot causes this error above, if you replace the X and Z with the actual plot id, the coloring gets broken of the feedback message as well. grafik

OneLiteFeather avatar Mar 08 '24 13:03 OneLiteFeather