mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 00:30:07 +01:00
commit
899bbfee40
@ -308,7 +308,7 @@ public class Mining {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (ModChecks.isCustomMiningBlock(block)) {
|
if (ModChecks.isCustomMiningBlock(block) && ModChecks.getCustomBlock(block) != null) {
|
||||||
xp += ModChecks.getCustomBlock(block).getXpGain();
|
xp += ModChecks.getCustomBlock(block).getXpGain();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user