Zedd7 / ZHorse

Bukkit plugin providing an enhanced management of horses in Minecraft
https://www.spigotmc.org/resources/zhorse.3384/
Other
11 stars 12 forks source link

Shared, then Unshared horse can still be ridden by anyone after unsharing #132

Closed gmalone closed 4 years ago

gmalone commented 4 years ago

Bug report

A horse shared to everyone, then unshared (by repeating the share command) can still be ridden by anyone, though its info now says it is Restricted again.

What are you trying to do ?

Make an unshared horse not rideable by anyone unauthorized.

Description of the task to be done goes here.

What is the expected behavior ?

A restricted horse (that was previously unshared) should not be rideable by the public.

Description of the expected behavior goes here.

What is the actual behavior ?

Anyone can still ride the unshared/restricted horse

Description of the actual behavior goes here.

How to reproduce the bug ?

  1. Step 1
  2. Step 2
  3. ...

Console output

Link to console output, if any, goes here. Please use http://pastebin.com to paste long outputs !

Environment specifications

Zedd7 commented 4 years ago

What are you trying to do ? Make an unshared horse not rideable by anyone unauthorized.

For this you should use /zh lock instead. Your confusion comes from the fact that horses have 3 'levels' of locking : shared < restricted < locked. See this page for more information on the security levels ;)

gmalone commented 4 years ago

Thank you.