Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
https://github.com/rathena/rathena/issues/907
I can confirm this issue here in hercules.
Fixes: https://github.com/rathena/rathena/commit/6ebcb67601117f0e6a39aad67a1a4de11c9b8d86