While I was creating a stamina bar, I noticed a bug with "player.isSprinting()".
It works very well until the player damages a living entity. The player keeps sprinting on his client, but in the server, "player.isSprinting()" returns false.
While I was creating a stamina bar, I noticed a bug with "player.isSprinting()".
It works very well until the player damages a living entity. The player keeps sprinting on his client, but in the server, "player.isSprinting()" returns false.