1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-20 16:01:26 +02:00

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

@ -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;
} }
} }