aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/leonardobishop
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/leonardobishop')
-rw-r--r--src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java b/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java
index 3db52554..6c6c366e 100644
--- a/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java
+++ b/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java
@@ -66,7 +66,7 @@ public final class BrewingTaskType extends TaskType {
if ((uuid = brewingStands.get(event.getBlock().getLocation())) != null) {
Player player = Bukkit.getPlayer(uuid);
- if (player == null || !player.hasMetadata("NPC")) {
+ if (player == null || player.hasMetadata("NPC")) {
return;
}