EssentialsX

EssentialsX

2M Downloads

Waking sleeping villagers sets /home location.

Xarius86 opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess version output

[14:46:15 INFO]: Server version: 1.17.1-R0.1-SNAPSHOT git-Purpur-1330 (MC: 1.17.1)
[14:46:15 INFO]: Brand version: Purpur
[14:46:15 INFO]: EssentialsX version: 2.19.0-dev+248-1179caa
[14:46:15 INFO]: LuckPerms version: 5.3.57
[14:46:15 INFO]: PlaceholderAPI version: 2.10.10-DEV-132
[14:46:15 INFO]: Vault version: 1.7.3-b131
[14:46:15 INFO]: DiscordSRV version: 1.23.0
[14:46:15 INFO]: EssentialsXChat version: 2.19.0-dev+248-1179caa
[14:46:15 INFO]: EssentialsXSpawn version: 2.19.0-dev+248-1179caa
[14:46:15 INFO]: Economy Layer: None
[14:46:15 INFO]: Fetching version information...
[14:46:15 INFO]: You're running the latest EssentialsX dev build!

Server startup log

https://pastebin.com/XK0mFFvg

EssentialsX config files

https://pastebin.com/Hzx3frF3

Error log (if applicable)

No response

Bug description

Waking up a sleeping villager by right clicking sets that bed as your /home location.

Steps to reproduce

  1. Download latest Paper or Purpur jar.
  2. Run jar, accept EULA, re-run jar, shutdown server.
  3. Add latest EssX, LuckPerms to plugins
  4. Run jar.
  5. Join game.
  6. Run lp editor and add essentials.sethome.bed and essentials.home permissions. Apply edits.
  7. Enter creative and find a village. After finding one, go back to survival.
  8. Give yourself a bed. Right click it to set it as your /home
  9. Use /time set night to force villagers to sleep.
  10. Right click on a sleeping villager to wake them up.
  11. Walk away.
  12. Use /home -- you'll be taken to the villagers bed rather than your own.

Expected behaviour

Right clicking a sleeping villager should only wake them.

Actual behaviour

Right clicking a villager sets your /home location to the bed of the villager you woke.

commented

I can say this isn't a bug on the latest build of paper and latest release of EssX (tested as op and with the perms set with luckperms).

2021-09-12_15 24 40
2021-09-12_15 24 55

2021-09-12_15 24 33