-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Describe the bug
In the tooltip of the Health setting of the Auto Log module, it is stated:
Automatically disconnects when your health is lower or equal to this value. Set to 0 to disable.
However, when you are about to die, auto log still automatically logs off:
[00:15:30] [Render thread/WARN]: Client disconnected with reason: [AutoLog] Health was going to be lower than 0.
It seems to only happen in very specific circumstances, but I've found a reproduction method.
Situation:
I was in 2b2t in lava and my fire resistance ran out. I wanted to eat a enchanted golden apple but I still had auto eat enabled, which forces me to eat golden carrots instead. Luckily I had a totem so nothing should've gone wrong, but auto log logged me out which caused me to have to wait in the queue for another 30 hours.
Steps to reproduce
- Enable auto log
- Set Health setting to 0 (and enable Predict incoming damage)
- Create a creative mode world a place a block of magma, go next to the block of magma
Example reproduction: - Go to survival mode and apply the command /effect give @s minecraft:instant_damage 1 0
- Wait until you've regenerated all your hearts except one half, then step on the magma
- Wait until you get logged out
This video demonstrates it: https://youtu.be/7a1AxaFP6C4
The same effect applies when holding a totem of undying.
Meteor Version
I've tested 1.21.11-24 and 1.21.4-42
Minecraft Version
I've tested 1.21.11 and 1.21.4
Operating System
Windows
Before submitting a bug report
-
This bug wasn't already reported (I have searched bug reports on GitHub).
-
This is a valid bug (I am able to reproduce this on the latest dev build).