SaLeoTragem Posted May 29, 2009 Posted May 29, 2009 Index: java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254) +++ java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254) @@ -672,6 +672,7 @@ private int _expertiseIndex; // index in EXPERTISE_LEVELS private int _expertisePenalty = 0; - - private L2ItemInstance _activeEnchantItem = null; + + private boolean _isEnchanting = false; + private L2ItemInstance _activeEnchantItem = null; protected boolean _inventoryDisable = false; @@ -2070,4 +2071,7 @@ public void setActiveEnchantItem(L2ItemInstance scroll) { + // If we dont have a Enchant Item, we are not enchanting. + if (scroll == null) + setIsEnchanting(false); _activeEnchantItem = scroll; } @@ -2077,4 +2081,15 @@ return _activeEnchantItem; } + + public void setIsEnchanting(boolean val) + { + _isEnchanting = val; + } + + public boolean isEnchanting() + { + return _isEnchanting; + } + /** Credits : L2jArchid Team Quote
Kràtos Posted May 29, 2009 Posted May 29, 2009 You mean this? http://trac.assembla.com/L2J-Archid/changeset/348 Well is not exactly phx bug but enchant bug.... so look my comment.. ;] Nice share ...... :o Quote
KaL Posted August 1, 2009 Posted August 1, 2009 Thank you for this, Cobra! And for sharing, SaLeoTragem! Very usefull! Quote
xtrollx1 Posted August 4, 2009 Posted August 4, 2009 thanks a lot guys very grateful Cobra lol cobra didn't share something u spammer :O xD saleotragem made the share. ty. Quote
~Sensei~ Posted August 5, 2009 Posted August 5, 2009 im a bit afraid of saying something like this on a hack forum lol.. but i wish there was more shares like this xD nice share, ty! Quote
DominiQue Posted December 13, 2009 Posted December 13, 2009 good for newbies,keep up. Man this member is banned,and the post is from MAY! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.