diff --git a/src/main/java/com/gmail/nossr50/skills/Mining.java b/src/main/java/com/gmail/nossr50/skills/Mining.java index cf659bb5c..05fd159ac 100644 --- a/src/main/java/com/gmail/nossr50/skills/Mining.java +++ b/src/main/java/com/gmail/nossr50/skills/Mining.java @@ -248,7 +248,7 @@ public class Mining case NETHERRACK: case SANDSTONE: case STONE: - if (!block.hasMetadata("mcmmoPlacedBlock")) { + if (block.hasMetadata("mcmmoPlacedBlock")) { return; } diff --git a/src/main/java/com/gmail/nossr50/skills/WoodCutting.java b/src/main/java/com/gmail/nossr50/skills/WoodCutting.java index b3bbae815..ed2f4b2f2 100644 --- a/src/main/java/com/gmail/nossr50/skills/WoodCutting.java +++ b/src/main/java/com/gmail/nossr50/skills/WoodCutting.java @@ -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; }