Towny Classic

Towny Classic

3.2k Downloads

Folia server Using a sand brusher will cause town errors

Closed this issue · 1 comments

commented

What steps will reproduce the problem?

[19:00:44 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread failed main thread check: Accessing entity state off owning region's thread, context=[th
read=Region Scheduler Thread #16,class=io.papermc.paper.threadedregions.TickRegionScheduler$TickThreadRunner,region={center=[-26, 1106],world=world}], entity={roo
t=[{type=FallingBlockEntity,id=182082026,uuid=7110d9ce-089d-46ee-8d8d-7defb5780a3a,pos=(-388.236,-1.000,17,698.765),mot=(0.264,0.000,0.265),aabb=AABB[-388.7255684
6695693, -1.0, 17698.275409718466] -> [-387.74556844788344, -0.019999980926513672, 17699.25540973754],removed=null,has_vehicle=false,passenger_count=0], vehicle=[
{null}], passengers=[]
java.lang.Throwable: null
at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:97) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at org.bukkit.craftbukkit.entity.CraftFallingBlock.getHandle(CraftFallingBlock.java:19) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at org.bukkit.craftbukkit.entity.CraftFallingBlock.getHandle(CraftFallingBlock.java:11) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at org.bukkit.craftbukkit.entity.CraftEntity.getOrigin(CraftEntity.java:1197) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at [城镇]Towny-0.101.2.0.jar/com.palmergames.bukkit.towny.listeners.TownyPaperEvents.lambda$fallingBlockListener$3(TownyPaperEvents.java:173) ~[[城镇]Town
y-0.101.2.0.jar:?]
at [城镇]Towny-0.101.2.0.jar/com.palmergames.bukkit.towny.listeners.TownyPaperEvents.lambda$registerEvent$0(TownyPaperEvents.java:122) ~[[城镇]Towny-0.101
.2.0.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[luminol-api-1.21.7-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[luminol-api-1.21.7-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:56) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:630) ~[luminol-api-1.21.7-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:1240) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:1232) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.world.entity.item.FallingBlockEntity.tick(FallingBlockEntity.java:212) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1388) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.world.level.Level.guardEntityTick(Level.java:1534) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.server.level.ServerLevel.lambda$tick$4(ServerLevel.java:841) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at io.papermc.paper.threadedregions.RegionizedWorldData.forEachTickingEntity(RegionizedWorldData.java:602) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:815) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1872) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1692) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:409) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:437) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a
]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?]
at io.papermc.paper.threadedregions.TickRegionScheduler$1$1.run(TickRegionScheduler.java:63) ~[luminol-1.21.7.jar:1.21.7-DEV-ce8e39a]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

What is the expected output?

Fixed this bug

Towny version

0.101.2.0

Server version

1.21.7 folia

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
  2. Your Towny config.yml:
  3. Your townyperms.yml:
  4. Your log's error:

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

commented

Duplicate of #7864, if this is something that also happens on folia then it's something we can try fixing, but so far only people on luminol seem to have had this issue