Klyser8 / Karma

See how good or bad a player behaves in your server, with this score-alignment based system.
1 stars 0 forks source link

Error at lightning strike #5

Closed ElMoha943 closed 3 years ago

ElMoha943 commented 3 years ago

[05:48:41 ERROR]: Could not pass event LightningStrikeEvent to Karma v2.2.9
java.lang.IllegalArgumentException: Cannot measure distance between WarZone and recursos
        at org.bukkit.Location.distanceSquared(Location.java:510) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at org.bukkit.Location.distance(Location.java:493) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at com.github.klyser8.karma.karma.KarmaEffectsHandler.onLightningStrike(KarmaEffectsHandler.java:364) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor141.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callLightningStrikeEvent(CraftEventFactory.java:1750) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.WorldServer.strikeLightning(WorldServer.java:2242) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.WorldServer.a(WorldServer.java:1234) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.ChunkProviderServer.tickChunks(ChunkProviderServer.java:1061) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.ChunkProviderServer.tick(ChunkProviderServer.java:950) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:1032) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1552) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:437) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
        at java.lang.Thread.run(Thread.java:831) [?:?]```