Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Wind charges cause /afked player to exit afk

Open ReinServer opened this issue 9 months ago • 1 comments

Type of bug

Exploit, Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?bytebin=aadi14eSml

Error log (if applicable)

No response

Bug description

When a player is AFK, if another player throws a windcharge at them, they involuntarily exit afk mode. This could be an issue on servers where afk invincibility is enabled, allowing players to be killed while they're away.

Steps to reproduce

  1. Have a player enter survival and use /afk
  2. Get another player to throw a windcharge at them
  3. It causes them to exit afk mode

Expected behaviour

They should remain in AFK and not move.

Actual behaviour

They get blown away and exit AFK mode.

Additional Information

No response

ReinServer avatar Mar 21 '25 15:03 ReinServer

this would imply that a PlayerMoveEvent isn't getting called which seems like a server bug? haven't looked that deep into tho.

JRoy avatar Mar 25 '25 19:03 JRoy