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,6 +140,7 @@ public class WoodCutting
|
|||||||
item = new ItemStack(mat, 1, (short)0, (byte)(x.getData()-8));
|
item = new ItemStack(mat, 1, (short)0, (byte)(x.getData()-8));
|
||||||
|
|
||||||
//90% chance to drop sapling
|
//90% chance to drop sapling
|
||||||
|
if(Math.random() * 10 > 9)
|
||||||
m.mcRandomDropItem(x.getLocation(), item, 90);
|
m.mcRandomDropItem(x.getLocation(), item, 90);
|
||||||
|
|
||||||
//Remove the block
|
//Remove the block
|
||||||
|
Loading…
Reference in New Issue
Block a user