diff --git a/Server/src/main/java/core/game/node/entity/skill/cooking/StandardCookingPulse.java b/Server/src/main/java/core/game/node/entity/skill/cooking/StandardCookingPulse.java index 11df96368..bbe0e7c69 100644 --- a/Server/src/main/java/core/game/node/entity/skill/cooking/StandardCookingPulse.java +++ b/Server/src/main/java/core/game/node/entity/skill/cooking/StandardCookingPulse.java @@ -190,11 +190,7 @@ public class StandardCookingPulse extends Pulse { } } - public boolean updateTutorial(Player player) { - return cook(player, object, burned, initial, product); - } - private Animation getAnimation(final Scenery object) { - return !object.getName().toLowerCase().equals("fire") ? RANGE_ANIMATION : FIRE_ANIMATION; + return !object.getName().equalsIgnoreCase("fire") ? RANGE_ANIMATION : FIRE_ANIMATION; } } diff --git a/Server/src/main/kotlin/rs09/game/node/entity/player/link/diary/DiaryEventHook.kt b/Server/src/main/kotlin/rs09/game/node/entity/player/link/diary/DiaryEventHook.kt index a88022493..7dcf9367b 100644 --- a/Server/src/main/kotlin/rs09/game/node/entity/player/link/diary/DiaryEventHook.kt +++ b/Server/src/main/kotlin/rs09/game/node/entity/player/link/diary/DiaryEventHook.kt @@ -144,11 +144,13 @@ class DiaryEventHook : LoginListener if(getAttribute(entity, "diary:seers:shark-caught", 0) >= 5) finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 7) + if(getAttribute(entity, "diary:seers:shark-cooked", 0) >= 5) + finishTask(entity, DiaryType.SEERS_VILLAGE, 2, 8) if((regionId == 12593 || regionId == 12849) && event.source.name.startsWith("dead", true)) finishTask(entity, DiaryType.LUMBRIDGE, 1, 8) - if(event.source.id == 333 && entity.zoneMonitor.isInZone("karamja")) + if(event.source.id == NPCs.FISHING_SPOT_333 && entity.zoneMonitor.isInZone("karamja")) finishTask(entity, DiaryType.KARAMJA, 0, 6) if(event.source.id == Scenery.YEW_TREE_8513 && regionId == 11828) finishTask(entity, DiaryType.FALADOR, 2, 3)