diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-06-28 01:29:11 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-06-28 01:29:11 +0100 |
| commit | a69acc53298c949e9a266ba0ab87e1389ca5a6d1 (patch) | |
| tree | 7009b7d48815ec6b9da7d2b282747848061add3e /bukkit | |
| parent | 75377a31562e6c1c06a5b306f002da7850065e42 (diff) | |
Continue instead of return (closes #409)
Diffstat (limited to 'bukkit')
| -rw-r--r-- | bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/MythicMobsKillingType.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/MythicMobsKillingType.java b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/MythicMobsKillingType.java index 973d7175..2087b69a 100644 --- a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/MythicMobsKillingType.java +++ b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/tasktype/type/dependent/MythicMobsKillingType.java @@ -123,11 +123,11 @@ public final class MythicMobsKillingType extends BukkitTaskType { int requiredLevel = (int) task.getConfigValue("level", -1); if (!mobName.equals(configName) || level < minMobLevel) { - return; + continue; } if (requiredLevel != -1 && level != requiredLevel) { - return; + continue; } int mobKillsNeeded = (int) task.getConfigValue("amount"); |
