SaLeoTragem Posted May 29, 2009 Share 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 Link to comment Share on other sites More sharing options...
Kràtos Posted May 29, 2009 Share 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 Link to comment Share on other sites More sharing options...
morfis Posted May 29, 2009 Share Posted May 29, 2009 ok ok phx ftw :D Quote Link to comment Share on other sites More sharing options...
Ins3cT Posted May 29, 2009 Share Posted May 29, 2009 thanks man ;) add in my server Quote Link to comment Share on other sites More sharing options...
xAddytzu Posted May 29, 2009 Share Posted May 29, 2009 Credits to l2jserver ! Quote Link to comment Share on other sites More sharing options...
CriticalError Posted May 29, 2009 Share Posted May 29, 2009 thanks a lot guys very grateful Cobra Quote Link to comment Share on other sites More sharing options...
Cedrics Posted July 30, 2009 Share Posted July 30, 2009 nice Quote Link to comment Share on other sites More sharing options...
KaL Posted August 1, 2009 Share Posted August 1, 2009 Thank you for this, Cobra! And for sharing, SaLeoTragem! Very usefull! Quote Link to comment Share on other sites More sharing options...
KhayrusS Posted August 3, 2009 Share Posted August 3, 2009 thanks for share Quote Link to comment Share on other sites More sharing options...
sanderson94 Posted August 4, 2009 Share Posted August 4, 2009 Nice post! Quote Link to comment Share on other sites More sharing options...
xtrollx1 Posted August 4, 2009 Share 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 Link to comment Share on other sites More sharing options...
~Sensei~ Posted August 5, 2009 Share 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 Link to comment Share on other sites More sharing options...
vamav3che Posted August 5, 2009 Share Posted August 5, 2009 thanx , testing. Quote Link to comment Share on other sites More sharing options...
leon5676 Posted December 13, 2009 Share Posted December 13, 2009 good for newbies,keep up. Quote Link to comment Share on other sites More sharing options...
DominiQue Posted December 13, 2009 Share Posted December 13, 2009 good for newbies,keep up. Man this member is banned,and the post is from MAY! Quote Link to comment Share on other sites More sharing options...
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.