Skip to content

Instantly share code, notes, and snippets.

@Battlecruiser
Last active September 22, 2015 11:07
Show Gist options
  • Save Battlecruiser/e9e32c9b3c4c10264a7f to your computer and use it in GitHub Desktop.
Save Battlecruiser/e9e32c9b3c4c10264a7f to your computer and use it in GitHub Desktop.
Herbs fix
diff --git a/src/main/java/com/l2jserver/gameserver/model/actor/L2Character.java b/src/main/java/com/l2jserver/gameserver/model/actor/L2Character.java
index af7a9e9..0df2ffe 100644
--- a/src/main/java/com/l2jserver/gameserver/model/actor/L2Character.java
+++ b/src/main/java/com/l2jserver/gameserver/model/actor/L2Character.java
@@ -1847,7 +1847,7 @@
// queue herbs and potions
if (isCastingSimultaneouslyNow() && simultaneously)
{
- ThreadPoolManager.getInstance().scheduleAi(() -> doCast(skill), 100);
+ ThreadPoolManager.getInstance().scheduleAi(() -> beginCast(skill, simultaneously, target, targets), 100);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment