mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Nerfing overpowered Herbalism double drops for melons and netherwart.
This commit is contained in:
@ -217,7 +217,7 @@ public class Misc {
|
||||
* @param is The item to drop
|
||||
* @param chance The percentage chance for the item to drop
|
||||
*/
|
||||
public static void randomDropItem(Location location, ItemStack is, double chance) {
|
||||
public static void randomDropItem(Location location, ItemStack is, int chance) {
|
||||
if (random.nextInt(100) < chance) {
|
||||
dropItem(location, is);
|
||||
}
|
||||
|
Reference in New Issue
Block a user