Skip to content

Instantly share code, notes, and snippets.

@Sdwz
Created February 27, 2014 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sdwz/9250651 to your computer and use it in GitHub Desktop.
Save Sdwz/9250651 to your computer and use it in GitHub Desktop.
Possible fix for summon issues
Index: java/com/l2jserver/gameserver/model/actor/L2Summon.java
===================================================================
--- java/com/l2jserver/gameserver/model/actor/L2Summon.java (révision 6436)
+++ java/com/l2jserver/gameserver/model/actor/L2Summon.java (copie de travail)
@@ -463,6 +463,7 @@
storeMe();
storeEffect(true);
+ stopAllEffects();
owner.setPet(null);
setOwner(null);
@@ -472,7 +473,6 @@
getAI().stopAITask();
}
- stopAllEffects();
L2WorldRegion oldRegion = getWorldRegion();
decayMe();
if (oldRegion != null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment