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

Error in console on Folia #735

Open
roggy666 opened this issue Oct 20, 2023 · 0 comments
Open

Error in console on Folia #735

roggy666 opened this issue Oct 20, 2023 · 0 comments
Labels
Bug An issue that is not supposed to happen

Comments

@roggy666
Copy link

Server Implementation

Folia

Server Version

1.20.1

Describe the bug

[19:28:02 ERROR]: Could not pass event PlayerTeleportEvent to CombatLogX v11.4.0.1.1193
java.lang.UnsupportedOperationException: Must use teleportAsync while in region threading
at org.bukkit.craftbukkit.v1_20_R1.entity.CraftPlayer.teleport(CraftPlayer.java:1311) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at org.bukkit.craftbukkit.v1_20_R1.entity.CraftPlayer.teleport(CraftPlayer.java:1260) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at org.bukkit.craftbukkit.v1_20_R1.entity.CraftEntity.teleport(CraftEntity.java:574) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at combatlogx.expansion.compatibility.region.world.guard.listener.ListenerWorldGuard.onTeleport(ListenerWorldGuard.java:53) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor461.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[folia-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[folia-api-1.20.1-R0.1-SNAPSHOT.jar:git-Folia-"372d479"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[folia-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[folia-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.teleport(ServerGamePacketListenerImpl.java:1819) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.teleport(ServerGamePacketListenerImpl.java:1788) ~[?:?]
at net.minecraft.server.level.ServerPlayer.stopSleepInBed(ServerPlayer.java:1938) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerCommand(ServerGamePacketListenerImpl.java:2780) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:37) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:13) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:52) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:75) ~[?:?]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1523) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.1.jar:git-Folia-"372d479"]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Reproduction Steps

Idk, fix it pls

Expected behaviour

No errors in the console

Screenshots / Videos

No response

latest log file (if applicable)

No response

CombatLogX Version

[19:29:12 INFO]: CombatLogX by SirBlobman
[19:29:12 INFO]: Local Version: 11.4.0.1.1193
[19:29:12 INFO]: Remote Version: Not Available
[19:29:12 INFO]: Enabled Expansions (5):
[19:29:12 INFO]: - Action Bar v17.3
[19:29:12 INFO]: - Boss Bar v17.1
[19:29:12 INFO]: - Cheat Prevention v17.6
[19:29:12 INFO]: - WorldGuard Compatibility v17.2
[19:29:12 INFO]: - Logger v17.2

Anything else?

No response

@roggy666 roggy666 added the Bug An issue that is not supposed to happen label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An issue that is not supposed to happen
Projects
None yet
Development

No branches or pull requests

1 participant