Merge pull request #383 from Glitchfinder/master

Fixing a few more NPEs.
This commit is contained in:
Glitchfinder
2012-12-28 21:11:58 -08:00
2 changed files with 29 additions and 17 deletions

View File

@ -308,7 +308,7 @@ public class Mining {
break;
default:
if (ModChecks.isCustomMiningBlock(block) && ModChecks.getCustomBlock(block) != null) {
if (ModChecks.isCustomMiningBlock(block)) {
xp += ModChecks.getCustomBlock(block).getXpGain();
}
break;