Bug Closed · Resolved

Scheduler Incorrectly Running Main-Thread Tasks Asynchronously

#10003 opened by Aqua2026 2 weeks ago

Aqua2026reported this bug

This issue occurs when the server is running only MythicMobsPremium-5.13.1-SNAPSHOT.jar, so interference from other plugins can be ruled out. The plugin's scheduler may have an issue that causes tasks intended to run on the main thread to be executed on an asynchronous thread instead. I've attached the error message from the server, along with the relevant logs: [16:07:26 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread failed main thread check: Accessing entity state off owning region's thread, context=[thread=Thread[#100,lumine-scheduler-0,5,main],class=java.lang.Thread], entity={root=[{type=WitherSkeleton,id=152,uuid=f13731d4-f1d0-4783-a2b2-53e2771c71cb,pos=(82.467,-4.000,-186.143),mot=(0.000,-0.078,0.000),aabb=AABB[82.11741684471438, -4.0, -186.4931771873374] -> [82.81741683279346, -1.5999999046325684, -185.79317719925834],removed=DISCARDED,has_vehicle=false,passenger_count=0], vehicle=[{null}], passengers=[] java.lang.Throwable

Sign in to join the discussion.