mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +02:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user