This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Set giant health higher than 20 (I had it on 120) in core_config.2. Hit a giant.3. Check the server log.
What is the expected output? What do you see instead?In the config, you didn't mention that there is any limit, so I didn't expect one.Instead it seems that there is a limit and you can only set the health to 20 or below (0-20). An error appears.
What version of the product are you using?BFTD v0.9.1CB dev 1.5.1 #2709
Do you have an error log of what happened?2013-03-28 11:18:33 [WARNING] [BackFromTheDead] Task #32 for BackFromTheDead v0.9.1 generated an exceptionjava.lang.IllegalArgumentException: Health must be between 0 and 20 at org.bukkit.craftbukkit.v1_5_R2.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:73) at me.apollo.backfromthedead.backfromthedeaddayz.backfromthedeadbloodtoheartstask.run(backfromthedeadbloodtoheartstask.java:38) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:512) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Please provide any additional information below.The console got spammed with this error, but I guess 1 error per hit appeared.
Also (something else, not so important), in the core_config, it says the following:# Player-Skulls - If this is a true the zombies head will be set to (Requires zombie-armor) (Requires get-equip-from-player)Player-Skulls: true
I think I found out that you mean that the zombie head will be set to the players head who just got killed. I love that option but you forgot to finish the explanation sentece ;)
Hmm this isnt caused by the giant HP, this is caused by some kind of error that shouldnt really be happening.
I'll have a look at the code.
To post a comment, please login or register a new account.