Closed UBSMentis closed 2 years ago
Looks like I need to do a better job of handling file data and catching errors properly. I was planning on doing a revamp in the next major release, but I'll bring it up the queue and roll it out as a hotfix instead. This will take a little while to do, but hopefully that would mean much fewer errors in the future.
Should be fixed in 1.2.2
ERROR 00:48:49
Could not pass event PlayerTeleportEvent to VillagerDefense v1.2.1
Console 00:48:49
java.lang.NullPointerException: Cannot invoke "me.theguyhere.villagerdefense.plugin.game.models.arenas.Arena.getStatus()" because "arena" is null at me.theguyhere.villagerdefense.plugin.listeners.GameListener.onPlayerTeleport(GameListener.java:1219) ~[VillagerDefense-1.2.1.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor848.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-379] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.entity.CraftPlayer.teleport(CraftPlayer.java:1161) ~[paper-1.18.2.jar:git-Paper-379] at com.denizenscript.denizen.npc.traits.SittingTrait.sitInternal(SittingTrait.java:119) ~[Denizen-1.2.4-b6136-DEV.jar:?] at com.denizenscript.denizen.npc.traits.SittingTrait.sit(SittingTrait.java:150) ~[Denizen-1.2.4-b6136-DEV.jar:?] at com.denizenscript.denizen.npc.traits.SittingTrait.lambda$onSpawn$0(SittingTrait.java:64) ~[Denizen-1.2.4-b6136-DEV.jar:?] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.2.jar:git-Paper-379] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.2.jar:git-Paper-379] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1532) ~[paper-1.18.2.jar:git-Paper-379] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-379] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-379] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-379] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-379] at java.lang.Thread.run(Thread.java:833) ~[?:?]
latest.log
Server and plugin versions (please complete the following information): Windows 10 minecraft 1.18.2 Paper version
After my Report by Spigot you made the 1.2.1 but the error its still now in the console, maybe its a world problem, the game is on my World Games and the villager Portal to Join is in the Hub World. The error comes every use a /warp ALLWARPPOINTS command and join the portal villager.