betterphp / BloodMoon

A plugin for Bukkit based Minecraft servers to add a new mechanic similar to the bloodmoon event in Terraria
http://dev.bukkit.org/server-mods/bloodmoon/
9 stars 15 forks source link

Bloodmoon errors. #106

Closed Flamez44 closed 10 years ago

Flamez44 commented 11 years ago

I am using the current Craftbukkit 1.6.4. I am using the bloodmoon dev build, latest stable, for 1.6.4. I am throwing this error ONLY during a bloodmoon.

2013-09-21 16:18:00 [SEVERE] Could not pass event CreatureSpawnEvent to BloodMoon v0.24-SNAPSHOT org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:239) at net.minecraft.server.v1_6_R3.World.addEntity(World.java:923) at net.minecraft.server.v1_6_R3.SpawnerCreature.spawnEntities(SpawnerCreature.java:161) at net.minecraft.server.v1_6_R3.WorldServer.doTick(WorldServer.java:182) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:566) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.NullPointerException at uk.co.jacekk.bukkit.bloodmoon.feature.mob.TargetDistanceListener.onCreatureSpawn(TargetDistanceListener.java:72) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 12 more 2013-09-21 16:18:00 [SEVERE] Could not pass event CreatureSpawnEvent to BloodMoon v0.24-SNAPSHOT org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:239) at net.minecraft.server.v1_6_R3.World.addEntity(World.java:923) at net.minecraft.server.v1_6_R3.SpawnerCreature.spawnEntities(SpawnerCreature.java:161) at net.minecraft.server.v1_6_R3.WorldServer.doTick(WorldServer.java:182) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:566) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.NullPointerException at uk.co.jacekk.bukkit.bloodmoon.feature.mob.MovementSpeedListener.onCreatureSpawn(MovementSpeedListener.java:82) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 12 more

AND it continues to repeat. ANy suggestions?

betterphp commented 10 years ago

You need to have the correct version for your server version.