aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorfatpigsarefat <fatpigsarefat@outlook.com>2018-10-20 22:31:11 +0100
committerfatpigsarefat <fatpigsarefat@outlook.com>2018-10-20 22:31:11 +0100
commita72873c0ee57d9bb32a4506c95d61e436e1e258a (patch)
tree51a384b6351ea29621f2446a32d4a3fbdb8a3f66 /src/main/java
parent751d8a5a32775bdcca7376b1f9c53917028eae6c (diff)
Change state check from CAUGHT_FISH to BITE
- Hopefully closes #32
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/leonardobishop/quests/quests/tasktypes/types/FishingTaskType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/FishingTaskType.java b/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/FishingTaskType.java
index 519f3575..28f78f05 100644
--- a/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/FishingTaskType.java
+++ b/src/main/java/com/leonardobishop/quests/quests/tasktypes/types/FishingTaskType.java
@@ -33,7 +33,7 @@ public final class FishingTaskType extends TaskType {
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onFishCaught(PlayerFishEvent event) {
- if (event.getState() == PlayerFishEvent.State.CAUGHT_FISH) {
+ if (event.getState() == PlayerFishEvent.State.BITE) {
return;
}
Player player = event.getPlayer();