diff --git a/src/main/java/com/gmail/nossr50/skills/Mining.java b/src/main/java/com/gmail/nossr50/skills/Mining.java index a1276080e..dc470f528 100644 --- a/src/main/java/com/gmail/nossr50/skills/Mining.java +++ b/src/main/java/com/gmail/nossr50/skills/Mining.java @@ -76,7 +76,7 @@ public class Mining } } - public static void blockProcSimulate(Block block) + public static void blockProcSimulate(Block block, Player player) { Location loc = block.getLocation(); int id = block.getTypeId(); @@ -172,7 +172,7 @@ public class Mining if(Math.random() * 1000 <= PP.getSkillLevel(SkillType.MINING)) { - blockProcSimulate(block); + blockProcSimulate(block, player); return; } }