浏览代码

This check shouldn't be inverted

Fixes #1545
TfT_02 11 年之前
父节点
当前提交
b9c652ef2b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
         }