New McMMOItemSpawnEvent

- Changed all of mcMMO to use one drop method to facilitate new event
- Added a missing bit of copyright notice to last event
This commit is contained in:
NuclearW
2012-01-29 02:51:59 -05:00
parent a61efae527
commit 01bbd9bcac
10 changed files with 213 additions and 100 deletions

View File

@ -48,7 +48,7 @@ public class WoodCutting
if(Math.random() * 1000 <= PP.getSkillLevel(SkillType.WOODCUTTING))
{
ItemStack item = new ItemStack(mat, 1, (short) 0, type);
block.getWorld().dropItemNaturally(block.getLocation(), item);
m.mcDropItem(block.getLocation(), item);
}
}
}