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
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
KaL Posted August 1, 2009 Posted August 1, 2009 Thank you for this, Cobra! And for sharing, SaLeoTragem! Very usefull!
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.
~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!
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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now