Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot move entity off-main #199

Open
Netherwhal opened this issue Feb 16, 2024 · 0 comments
Open

Cannot move entity off-main #199

Netherwhal opened this issue Feb 16, 2024 · 0 comments
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4

Comments

@Netherwhal
Copy link

Expected behavior

No crash

Observed/Actual behavior

12:47:58] [Region Scheduler Thread #2/ERROR]: Thread Region Scheduler Thread #2 failed main thread check: Cannot move entity off-main
java.lang.Throwable: null
	at io.papermc.paper.util.TickThread.ensureTickThread(TickThread.java:71) ~[folia-1.20.4.jar:git-Folia-33]
	at io.papermc.paper.chunk.system.entity.EntityLookup.moveEntity(EntityLookup.java:526) ~[folia-1.20.4.jar:git-Folia-33]
	at io.papermc.paper.chunk.system.entity.EntityLookup$EntityCallback.a(EntityLookup.java:893) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.world.entity.Entity.setPosRaw(Entity.java:5457) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.world.entity.Entity.setPos(Entity.java:770) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.world.entity.Entity.absMoveTo(Entity.java:2031) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.world.entity.Entity.absMoveTo(Entity.java:2016) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.server.level.ServerPlayer.tick(ServerPlayer.java:847) ~[?:?]
	at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1558) ~[?:?]
	at net.minecraft.world.level.Level.guardEntityTick(Level.java:1360) ~[?:?]
	at net.minecraft.server.level.ServerLevel.lambda$tick$8(ServerLevel.java:1011) ~[?:?]
	at io.papermc.paper.threadedregions.RegionizedWorldData.forEachTickingEntity(RegionizedWorldData.java:613) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:990) ~[?:?]
	at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1812) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[folia-1.20.4.jar:git-Folia-33]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1651) ~[folia-1.20.4.jar:git-Folia-33]
	at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.20.4.jar:git-Folia-33]
	at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[folia-1.20.4.jar:git-Folia-33]
	at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.4.jar:git-Folia-33]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]

Steps/models to reproduce

n/a

Plugin and Datapack List

This server is running Folia version git-Folia-33 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 8939611 on HEAD)

Folia version

[13:09:44 INFO]: Paper Plugins:
[13:09:44 INFO]:  - MiniPlaceholders, MiniPlaceholders-Player-Expansion
[13:09:44 INFO]: Bukkit Plugins:
[13:09:44 INFO]:  - CMILib, DiscordSRV, MobFarmManager, NoIllegals, NoPluginsCommand, PlaceholderAPI, SimplyAdmin, SimplyChat, SimplyHeightLimit, SimplyNicks
[13:09:44 INFO]:  SimplyRank, SimplyVotifier, TAB, ViaBackwards, ViaVersion, voicechat, VotingPlugin

Other

There are a couple of accepted but also prematurely closed bug-reports. So this might still be a valid bug in current HEAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4
Projects
None yet
Development

No branches or pull requests

2 participants