The best and easiest sulution I can think of is to change the parameter separation character, e.g. to '|' or '&'. - drop:...
I'd really like to test 2.0, but it already gives an error while loading the drops file: 2011-09-03 17:29:22 [INFO] [OtherDrops:2.0-prerelease4]...
Is it possible to set the drops when a block is burned (e.g. drop charcoal when a log is burned)? If not, could you add it in 2.0?
The download link doesn't work.
Chance for acquirement: 0 I really like this plugin, but right now it's very unbalanced. I think one should be able to configure the chances &...
On a second thought, it may be useful to let a hoe plant for free, and maybe use up durability in turn.
I don't think I will add a configuration, as I want to keep this plugin as simple as possible, and also I can't imagine a good reason to limit...
if (CraftWolf.getOwner() instanceof Player) { Player player = (Player) CraftWolf.getOwner(); // ... }
world is null at that time. Make sure to call setWorld() before the other code is executed.
What kind of error do you get?
This will still return 'Ink Sack' for dyes :p
How about you 1. reading the post carefully and 2. looking at the javadocs? ChunkLoadEvent is not cancellable... I don't know if this works, but...
In case of the arrow being the 'damager' of the EntityDamageByEntityEvent, you can use: if (((EntityDamageByEntityEvent)e).getDamager()...
The easiest way is to make a single static field 'plugin' in the main class, so you can access the plugin from any class w/o having to write much...
You should look for a java version of SQLite edit: found something: http://zentus.com/sqlitejdbc/
location.getBlock().setType(...) will "spawn" a block at a given location (it will replace the block at the location)
EntityDamageByEntityEvent if (event instanceof EntityDamageByEntityEvent) { EntityDamageByEntityEvent e = (EntityDamageByEntityEvent) event;...
1. You can use Material.toString().toLowerCase(), but as you might know these names are stupid (red rose, ink sack, etc.) 2. make a hashmap to map...
A null pointer exception indicates that something is null, and the only variable is 'plugin', which you didn't initialize, i.e. it is null. You...
1. throw a snowball & save the entity somewhere (if the player manually throws a snowball, check creature spawn events) 2. check for entity death...
Separate names with a comma.