Jump to content
  • 0

[Java Code]No Enchant In Move.


'Baggos'

Question

2 answers to this question

Recommended Posts

  • 0

open the file RequestEnchantItem in gameserver/network/clientpackets.

 

Find this code:

 

activeChar.getActiveTradeList() != null

Its an if code. above this, add this code:

 

if(activeChar.isMoving())
{
activeChar.sendMessage("You can not enchant while you move");
return;
}

 

Just modify the message if you would like.

Link to comment
Share on other sites

  • 0

open the file RequestEnchantItem in gameserver/network/clientpackets.

 

Find this code:

 

activeChar.getActiveTradeList() != null

Its an if code. above this, add this code:

 

if(activeChar.isMoving())
{
activeChar.sendMessage("You can not enchant while you move");
return;
}

 

Just modify the message if you would like.

Thank You My Friend!

 

Locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...