calebbfmv / Border-Patrol

0 stars 0 forks source link

CreatureSpawnEvent exception #9

Open skore87 opened 12 years ago

skore87 commented 12 years ago

No regions have this event, however NoMonsterSpawning is still triggering.

2012-09-05 23:02:47 [SEVERE] Could not pass event CreatureSpawnEvent to Border Patrol org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) 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.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:226) at net.minecraft.server.World.addEntity(World.java:837) at net.minecraft.server.SpawnerCreature.spawnEntities(SpawnerCreature.java:175) at net.minecraft.server.WorldServer.doTick(WorldServer.java:154) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:560) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.dpajd.ProtectionPlugin.Regions.Region.hasProtection(Region.java:99) at com.dpajd.ProtectionPlugin.Protections.NoMonsterSpawning.onCreatureSpawnEvent(NoMonsterSpawning.java:29) at sun.reflect.GeneratedMethodAccessor76.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:330) ... 12 more

skore87 commented 12 years ago

Can't seem to repeat it. Seems fixed?