CitizensDev/Citizens — Issue #594: Citizens generated an exception
Author: gummby8
Created: 2012-01-09 00:54:08+00:00
State: open

2012-01-09 03:37:20 [WARNING] Task of 'Citizens' generated an exception
java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null
at org.bukkit.Location.distance(Location.java:364)
at net.citizensnpcs.resources.npclib.PathNPC.distance(PathNPC.java:95)
at net.citizensnpcs.resources.npclib.PathNPC.updateTarget(PathNPC.java:325)
at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:206)
at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
at net.citizensnpcs.TickTask.run(TickTask.java:31)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Something about distance between worlds. Citizens supports multiworlds. I can never seem to narrow down what is causing this as it happens completely randomly. It causes every citizens to stop functioning completely and just stand there idle