From 6526fc64a78d3ad8136fbdf29493a182ca5db7c8 Mon Sep 17 00:00:00 2001 From: nivcoo <36514752+nivcoo@users.noreply.github.com> Date: Thu, 4 Mar 2021 22:26:37 +0100 Subject: improv. fix mistake (#153) --- .../leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2