mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed bugs with metadata checks. Super Breaker now works again.
This commit is contained in:
parent
a630022bf0
commit
60cbf7b8b9
@ -248,7 +248,7 @@ public class Mining
|
|||||||
case NETHERRACK:
|
case NETHERRACK:
|
||||||
case SANDSTONE:
|
case SANDSTONE:
|
||||||
case STONE:
|
case STONE:
|
||||||
if (!block.hasMetadata("mcmmoPlacedBlock")) {
|
if (block.hasMetadata("mcmmoPlacedBlock")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ public class WoodCutting {
|
|||||||
int xp = 0;
|
int xp = 0;
|
||||||
TreeSpecies species = TreeSpecies.getByData(block.getData());
|
TreeSpecies species = TreeSpecies.getByData(block.getData());
|
||||||
|
|
||||||
if (block.hasMetadata("placedBlock")) {
|
if (block.hasMetadata("mcmmpPlacedBlock")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user