Browse Source

This check shouldn't be inverted

Fixes #1545
TfT_02 11 years ago
parent
commit
b9c652ef2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java

+ 1 - 1
src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java

@@ -836,7 +836,7 @@ public class McMMOPlayer {
 
         setToolPreparationMode(tool, false);
 
-        if (!getAbilityMode(ability)) {
+        if (getAbilityMode(ability)) {
             return;
         }