diff options
| author | nivcoo <36514752+nivcoo@users.noreply.github.com> | 2021-03-04 22:26:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 21:26:37 +0000 |
| commit | 6526fc64a78d3ad8136fbdf29493a182ca5db7c8 (patch) | |
| tree | 66ebbc76928e06142ad900269f86b9a1bdb57c63 /src/main/java/com/leonardobishop | |
| parent | dd9053089dddb1c059367d7b080d4e5acd67c041 (diff) | |
improv. fix mistake (#153)
Diffstat (limited to 'src/main/java/com/leonardobishop')
| -rw-r--r-- | src/main/java/com/leonardobishop/quests/quests/tasktypes/types/BrewingTaskType.java | 2 |
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; } |
