AngryWolves

9 - Full Moon Spawn

What steps will reproduce the problem?
1.full moon
2.
3.

What is the expected output? What do you see instead?
spawn of a bad thing

What version of the product are you using?
recent

Do you have an error log of what happened?
yes

Please provide any additional information below.

2/4/2013 11:23:54 PM [SEVERE] Could not pass event CreatureSpawnEvent to AngryWolves v1.3
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_4_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:227)
at net.minecraft.server.v1_4_R1.World.addEntity(World.java:901)
at org.bukkit.craftbukkit.v1_4_R1.CraftWorld.spawn(CraftWorld.java:1009)
at org.bukkit.craftbukkit.v1_4_R1.CraftWorld.spawn(CraftWorld.java:791)
at com.mikeprimm.bukkit.AngryWolves.AngryWolves.makeWerewolf(AngryWolves.java:1159)
at com.mikeprimm.bukkit.AngryWolves.AngryWolves$CheckForMoon.run(AngryWolves.java:933)
at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.IllegalArgumentException Health must be between 0 and 8
at org.bukkit.craftbukkit.v1_4_R1.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:68)
at com.mikeprimm.bukkit.AngryWolves.AngryWolvesEntityListener.onCreatureSpawn(AngryWolvesEntityListener.java:181)
at sun.reflect.GeneratedMethodAccessor145.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)

User When Change
cricketcricketcricket Feb 05, 2013 at 04:25 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of cricketcricketcricket cricketcricketcricket Feb 07, 2013 at 02:23 UTC - 0 likes

    No errors so far with that devB. I did however get the message "the wolves are howling at the full moon" just as the sun was setting.

    I want to thank you again for getting this working, it is a joy to be attacked by wolves again.....haha

  • Avatar of cricketcricketcricket cricketcricketcricket Feb 06, 2013 at 03:09 UTC - 0 likes

    ok will do, and when I got home today I only had this error: java.lang.IllegalArgumentException: The validated object is null at org.apache.commons.lang.Validate.notNull(Validate.java:222) at org.bukkit.craftbukkit.v1_4_R1.entity.CraftVillager.setProfession(CraftVillager.java:33) at com.mikeprimm.bukkit.AngryWolves.AngryWolves.revertWerewolves(AngryWolves.java:1190) at com.mikeprimm.bukkit.AngryWolves.AngryWolves$CheckForMoon.run(AngryWolves.java:962) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)

    Ill let you know what happens tomorrow after a days run.

    Thank you much!

    Larry

  • Avatar of mikeprimm mikeprimm Feb 05, 2013 at 21:43 UTC - 0 likes

    Give latest dev build a try - http://mikeprimm.com/dynmap/builds/AngryWolves/AngryWolves-HEAD-bin.zip - this should address issue

    BFAK:Mike Primm,29194,955541021baa269c9ac16865eaad3379b85a4d6062df12334b45217c5cc3207d

  • Avatar of cricketcricketcricket cricketcricketcricket Feb 05, 2013 at 14:03 UTC - 0 likes

    the line with the wolf health was 8 the line for the hellhound health was 10, i changed to 8. I did a compelte moon cycle back to the full moon and no error, but I should have set the spawn rate to 100 to make sure. I ran out of time and had to goto work. Ill trouble shoot somemore later tonight(hopefully lol)

  • 4 comments

Facts

Reported
Feb 05, 2013
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Possible assignees