Oh yeah, forgot to add that :/
Yes, sorry that I didn't post it :/
Basically, you need to reinitialize the pathing. If you're making a custom zombie:
// inventory is not empty
CraigCraig: that would throw a NPE.
Thumbz: I don't think you can change it before you spawn it, but you can change stuff right after....
ItemStack contents = player.getInventory().getContents();
// inv is not empty
I don't know if this works because I'm...
Jozeth, if he only uses Bukkit classes/interfaces, it should still work.
lx3krypticx: why do you keep bumping when you already have the answer?...
There are 2 possible cases:
- it's a CraftBukkit bug (since it throws a NPE in SimpleHelpMap)
- you registrate your commands wrong.
If you don't...
Cancel the PlayerMoveEvent when they're not in the 'allowed to move'-list.
Rasmase: you only define the package as main, the class name must be there too.
You should use .distanceSquared(); .distance() uses the sqrt() method which is pretty intensive.
What's under Referenced Libraries?
Since getRecipients() is a List<Player>, you can just do getRecipients().add(player); just like you do getRecipients().remove(player).
You can just do getRecipients().remove();
I optimized the spell loader system :(
Separate names with a comma.