mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-14 03:24:43 +02:00
Cleanup listeners a bit more. Also fix bug in recent dev builds where
placed blocks were not properly tracked.
This commit is contained in:
@ -112,12 +112,7 @@ public class MiningManager extends SkillManager{
|
||||
* @param block The block being broken
|
||||
*/
|
||||
public void miningBlockCheck(Block block) {
|
||||
if (mcMMO.placeStore.isTrue(block)) {
|
||||
return;
|
||||
}
|
||||
|
||||
MiningBlockEventHandler eventHandler = new MiningBlockEventHandler(this, block);
|
||||
|
||||
eventHandler.processXPGain();
|
||||
|
||||
if (!Permissions.miningDoubleDrops(player)) {
|
||||
|
Reference in New Issue
Block a user