From 2b85ed01eac460e56aa736e78bf889252325fb31 Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Thu, 2 Feb 2012 01:26:52 -0500 Subject: [PATCH] Fixed BlockProcSimulate not having a Player input. --- src/main/java/com/gmail/nossr50/skills/Mining.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }