mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Green Thumb consumes seeds again
Fixes MCCORE-36
This commit is contained in:
parent
89802e23e2
commit
d1b522b534
@ -150,7 +150,7 @@ public class Herbalism
|
||||
}
|
||||
|
||||
//GREEN THUMB
|
||||
if(PP.getGreenTerraMode() || (herbLevel >= 1500 || (Math.random() * 1500 <= herbLevel)))
|
||||
if(hasSeeds(player) && PP.getGreenTerraMode() || hasSeeds(player) && (herbLevel >= 1500 || (Math.random() * 1500 <= herbLevel)))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
m.mcDropItem(loc, is);
|
||||
@ -178,6 +178,7 @@ public class Herbalism
|
||||
}
|
||||
}, 1);
|
||||
|
||||
removeSeeds(player);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user