jediminer543 / JMT-MCMT

A multithreading mod for for Minecraft forge 1.15.2 and 1.16.x
https://www.curseforge.com/minecraft/mc-mods/mcmt-multithreading
BSD 2-Clause "Simplified" License
228 stars 18 forks source link

Effects stay at 0:00 #26

Open No3371 opened 3 years ago

No3371 commented 3 years ago

Effects randomly stay on players (0:00) on 1.16.3-forge-1.34.1 server with only MCMT installed, also tried to disable Entity Parallelization but didn't help.

Noticed with beacons and tested with beacons for fast effects iteration, after removing MCMT, the issue is gone.

jediminer543 commented 3 years ago

I'll poke this

Is the repro step just setup a beacon and then exit and leave a few times?

No3371 commented 3 years ago

it happens quite randomly, I didn't even notice it in the early construction of my modpack/server, but from my experience in and out about ~10 times should be enough.

I didn't provide logs because there's nothing interesting logged about this in all logs files I read 😅

But I do have some other interesting to share, I applied "bandage" from Scaling Health days ago, that item heals you but gives you a "Bandaged" effect which is a generic:movement_speed modifier that slows you for a period of time, that effect stuck at 0:00, and I usually just log out and login to stop the effect shows in my GUI, since then I had been feeling my character is somehow slower then normal.

It turns out that modifier stayed in my data all the time until I can't bear the slowness of my character then decided to /data get and saw that modifier in my character data and removed the modifier by UUID.

As there's no related logs, I suspect it's race condition or something, but I don't know how do you update player so just take my words with a pinch of salt 😅