Full Moon Spawn #9


  • New
  • Defect
Open
Assigned to mikeprimm
  • _ForgeUser10370576 created this issue Feb 4, 2013

    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)

  • _ForgeUser10370576 added the tags New Defect Feb 4, 2013
  • _ForgeUser10370576 posted a comment Feb 5, 2013

    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)

  • Mikeprimm posted a comment Feb 5, 2013

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

  • _ForgeUser10370576 posted a comment Feb 5, 2013

    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

  • _ForgeUser10370576 posted a comment Feb 6, 2013

    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


To post a comment, please login or register a new account.