Fixed BlockProcSimulate not having a Player input.

This commit is contained in:
gmcferrin 2012-02-02 01:26:52 -05:00
parent c99fce9143
commit 2b85ed01ea

View File

@ -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(); Location loc = block.getLocation();
int id = block.getTypeId(); int id = block.getTypeId();
@ -172,7 +172,7 @@ public class Mining
if(Math.random() * 1000 <= PP.getSkillLevel(SkillType.MINING)) if(Math.random() * 1000 <= PP.getSkillLevel(SkillType.MINING))
{ {
blockProcSimulate(block); blockProcSimulate(block, player);
return; return;
} }
} }