2.0 - issues with Entity drops
Zarius opened this issue ยท 4 comments
ZOMBIE:
- tool: ANY_SWORD # bug: player attacks on creatures are recorded as damage_entity_attack and don't match the sword
drop: CHAINMAIL_HELMET
chance: 100
message: ["A little dusty, but this chainmail helmet might look good on you."]
- tool: ANY
drop: MONEY # bug: entity attacks - recipient is null
quantity: 150
chance: 100
The first one would be an issue in OccurredDrop.setTool(EntityDamageEvent), most likely, though I can't see why it would be a problem. The second sounds like it just needs a null check.
Yes, I think the second one is a null check to make sure a money plugin has registered. iConomy 6 isn't registering for some reason (which is why the player got the NPE) - I'm looking into that.
I suppose the first may be fixed in the commits that I haven't pushed yet...