Fixed bugs with metadata checks. Super Breaker now works again.

This commit is contained in:
GJ 2012-03-22 15:48:11 -04:00
parent a630022bf0
commit 60cbf7b8b9
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ public class Mining
case NETHERRACK:
case SANDSTONE:
case STONE:
if (!block.hasMetadata("mcmmoPlacedBlock")) {
if (block.hasMetadata("mcmmoPlacedBlock")) {
return;
}

View File

@ -266,7 +266,7 @@ public class WoodCutting {
int xp = 0;
TreeSpecies species = TreeSpecies.getByData(block.getData());
if (block.hasMetadata("placedBlock")) {
if (block.hasMetadata("mcmmpPlacedBlock")) {
return;
}