mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fixed Tree Feller dropping too many saplings
This commit is contained in:
parent
e42b9db159
commit
04f13ab090
@ -140,7 +140,8 @@ public class WoodCutting
|
||||
item = new ItemStack(mat, 1, (short)0, (byte)(x.getData()-8));
|
||||
|
||||
//90% chance to drop sapling
|
||||
m.mcRandomDropItem(x.getLocation(), item, 90);
|
||||
if(Math.random() * 10 > 9)
|
||||
m.mcRandomDropItem(x.getLocation(), item, 90);
|
||||
|
||||
//Remove the block
|
||||
x.setData((byte) 0);
|
||||
|
Loading…
Reference in New Issue
Block a user