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

Mobs not moving in 1.4.6 #32

Closed SilverKnight29 closed 11 years ago

SilverKnight29 commented 11 years ago

CB: spigot 350

Hello, sorry if this is jumping the gun a bit, but I had some extra time on my hands and compiled your latest changes for 1.4.6 and noticed 2 issues.

  1. Zombies and Skeletons are unable to move at all even when attacked however, mobs such as Spiders and Zombie-pigs are able to move correctly.
  2. Nether mobs are able to spawn inside of world guard regions with the "spawnmobs: deny" flag on, as mentioned in another issue here.

Otherwise the plugin seems to work well spawn rates and equipment all seem to work great. I have not tested detection distance or block-break however. Awesome plug-in thanks for all your work!

EDIT: present in v0.20.1 as well

Seems that the error may be in "Entity findTarget" at least with my findings, I was able to get moving skeletons by borrowing some code from "Entity findTarget" in BloodMoonEntitySpider.java however was never quite able to get the zombies moving correctly.

betterphp commented 11 years ago

Thanks ! turns out it was actually much simpler than that though.

SilverKnight29 commented 11 years ago
  1. You rock dude.
  2. You forgot to change some things in BloodMoonEntitySkeleton.java!

Line 97 and 101 need the changes as well!

betterphp commented 11 years ago

Damn it ! Thanks :P I think I'll rename it since this causes problems every update.