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 :(
I just tested it and it works for me :P
Are you sure you configured it right?
Sir Savary: since WorldEdit is a plugin, why would it be difficult to get it? :p
You switched drop and destroy in your code :p
And, you should remove the 'extends CustomDrops' and 'Listener,' because it doesn't make much sense.. ')
Oh yeah, forgot about it :/
You can also do this:
flag = Arrays.asList(skillnamess).contains(e.getline(1));
flag = skillnamess.contains(e.getLine(1).toUpperCase());
// display message if !flag
Isn't that the same?
Separate names with a comma.