PluginBugs / Issues-ChestPreview

Repository used to keep track of issues of my plugin ChestPreview
0 stars 0 forks source link

java.lang.IllegalArgumentException: Cannot measure distance between #14

Closed LoneDev6 closed 10 months ago

LoneDev6 commented 10 months ago

Errors appeared after deleting an island in the SuperioSkyblock2 plugin, command /is disband https://paste.gg/p/anonymous/0bbf493be58545e0aa55cf807f41d4fd

[16:46:59 WARN]: java.lang.IllegalArgumentException: Cannot measure distance between world and SuperiorWorld_the_end
[16:46:59 WARN]:    at org.bukkit.Location.distanceSquared(Location.java:510)
[16:46:59 WARN]:    at org.bukkit.Location.distance(Location.java:493)
[16:46:59 WARN]:    at chestpreview.m.b.a(SourceFile:110)
[16:46:59 WARN]:    at chestpreview.m.d.a(SourceFile:158)
[16:46:59 WARN]:    at chestpreview.m.d.a(SourceFile:153)
[16:46:59 WARN]:    at chestpreview.m.d.a(SourceFile:121)
[16:46:59 WARN]:    at chestpreview.m.d.a(SourceFile:100)
[16:46:59 WARN]:    at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[16:46:59 WARN]:    at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116)
[16:46:59 WARN]:    at chestpreview.m.d.j(SourceFile:63)
[16:46:59 WARN]:    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101)
[16:46:59 WARN]:    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480)
[16:46:59 WARN]:    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1497)
[16:46:59 WARN]:    at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486)
[16:46:59 WARN]:    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406)
[16:46:59 WARN]:    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1177)
[16:46:59 WARN]:    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[16:46:59 WARN]:    at java.base/java.lang.Thread.run(Thread.java:1583)
[16:46:59 WARN]:    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[16:46:59 WARN]:    at java.base/java.lang.Thread.run(Thread.java:1583)
[16:47:00 ERROR]: Could not pass event PlayerMoveEvent to ChestPreview v1.0.4
java.lang.IllegalArgumentException: Cannot measure distance between world and SuperiorWorld_the_end
    at org.bukkit.Location.distanceSquared(Location.java:510) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.Location.distance(Location.java:493) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
    at chestpreview.m.b.a(SourceFile:110) ~[chestpreview-1.0.4.jar:?]
    at chestpreview.m.d.a(SourceFile:158) ~[chestpreview-1.0.4.jar:?]
    at chestpreview.m.d.a(SourceFile:153) ~[chestpreview-1.0.4.jar:?]
    at chestpreview.m.d.a(SourceFile:121) ~[chestpreview-1.0.4.jar:?]
    at chestpreview.m.d.a(SourceFile:110) ~[chestpreview-1.0.4.jar:?]
    at chestpreview.m.d.a(SourceFile:392) ~[chestpreview-1.0.4.jar:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:git-LinearPurpur-"bacf5f3"]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[linearpurpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.handleMovePlayer(ServerGamePacketListenerImpl.java:1592) ~[?:?]
    at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.handle(ServerboundMovePlayerPacket.java:29) ~[?:?]
    at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$Rot.handle(ServerboundMovePlayerPacket.java:114) ~[?:?]
    at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:53) ~[?:?]
    at net.minecraft.server.TickTask.run(TickTask.java:18) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
    at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1351) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
    at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1328) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1321) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
    at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1299) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1187) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[linearpurpur-1.20.2.jar:git-LinearPurpur-"bacf5f3"]
    at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[16:47:00 WARN]:    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480)
[16:47:00 WARN]:    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1497)
[16:47:00 WARN]:    at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486)
[16:47:00 WARN]: java.lang.IllegalArgumentException: Cannot measure distance between world and SuperiorWorld_the_end
[16:47:00 WARN]:    at org.bukkit.Location.distanceSquared(Location.java:510)
[16:47:00 WARN]:    at org.bukkit.Location.distance(Location.java:493)
[16:47:00 WARN]:    at chestpreview.m.b.a(SourceFile:110)
[16:47:00 WARN]:    at chestpreview.m.d.a(SourceFile:158)
[16:47:00 WARN]:    at chestpreview.m.d.a(SourceFile:153)
[16:47:00 WARN]:    at chestpreview.m.d.a(SourceFile:121)
[16:47:00 WARN]:    at chestpreview.m.d.a(SourceFile:100)
[16:47:00 WARN]:    at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[16:47:00 WARN]:    at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116)
[16:47:00 WARN]:    at chestpreview.m.d.j(SourceFile:63)
[16:47:00 WARN]:    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101)
[16:47:00 WARN]:    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406)
[16:47:00 WARN]:    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1177)
[16:47:00 WARN]:    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[16:47:00 WARN]:    at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions[bot] commented 10 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.