mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixed BlockProcSimulate not having a Player input.
This commit is contained in:
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();
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user