From dc12d2d6abd8a988f9727903db2752eae4f3d732 Mon Sep 17 00:00:00 2001 From: Sam Marder Date: Mon, 8 Jun 2026 14:19:19 +0000 Subject: [PATCH] Fixed extra animation when trying to cook more items than possible --- .../main/content/global/skill/cooking/IntentionalBurnPulse.java | 2 +- .../main/content/global/skill/cooking/StandardCookingPulse.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/content/global/skill/cooking/IntentionalBurnPulse.java b/Server/src/main/content/global/skill/cooking/IntentionalBurnPulse.java index 051f5a14c..3e974f313 100644 --- a/Server/src/main/content/global/skill/cooking/IntentionalBurnPulse.java +++ b/Server/src/main/content/global/skill/cooking/IntentionalBurnPulse.java @@ -43,7 +43,6 @@ public class IntentionalBurnPulse extends StandardCookingPulse { @Override public boolean cook(Player player, Scenery object, boolean burned, int initial, int product) { - super.animate(); Item initialItem = new Item(initial); Item productItem = new Item(product); @@ -51,6 +50,7 @@ public class IntentionalBurnPulse extends StandardCookingPulse { player.getInventory().add(productItem); player.getPacketDispatch().sendMessage(getMessage(initialItem, productItem, burned)); playAudio(player, Sounds.FRY_2577); + super.animate(); return true; } return false; diff --git a/Server/src/main/content/global/skill/cooking/StandardCookingPulse.java b/Server/src/main/content/global/skill/cooking/StandardCookingPulse.java index 17699fc2c..34dc67319 100644 --- a/Server/src/main/content/global/skill/cooking/StandardCookingPulse.java +++ b/Server/src/main/content/global/skill/cooking/StandardCookingPulse.java @@ -149,7 +149,6 @@ public class StandardCookingPulse extends Pulse { public boolean cook(final Player player, final Scenery object, final boolean burned, final int initial, final int product) { Item initialItem = new Item(initial); Item productItem = new Item(product); - animate(); //handle special cooking results (spits, cake, etc) that don't justify separate plugin switch (initial) { @@ -188,6 +187,7 @@ public class StandardCookingPulse extends Pulse { } player.getPacketDispatch().sendMessage(getMessage(initialItem, productItem, burned)); playAudio(player, Sounds.FRY_2577); + animate(); return true; } return false;