Jump to content
  • 0

[Java Code]No Enchant In Move.


Question

2 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..