Jump to content

Recommended Posts

Posted

well, it works for Gracia CT2.2 too. just go to RequestGiveItemToPet.java and under that line:

 

if (Config.GM_DISABLE_TRANSACTION && player.getAccessLevel() >= Config.GM_TRANSACTION_MIN && player.getAccessLevel() <= Config.GM_TRANSACTION_MAX)
	{
		player.sendMessage("Unsufficient privileges.");
		player.sendPacket(ActionFailed.STATIC_PACKET);
		return;
	}

 

paste:

 

if (player.getActiveEnchantItem() != null)
	{
		sendPacket(SystemMessageId.ITEM_NOT_FOR_PETS);
		return;
	}

 

its for l2jfree

Posted

for L2J is different...because there isnt that :

 

if (Config.GM_DISABLE_TRANSACTION && player.getAccessLevel() >= Config.GM_TRANSACTION_MIN && player.getAccessLevel() <= Config.GM_TRANSACTION_MAX)
	{
		player.sendMessage("Unsufficient privileges.");
		player.sendPacket(ActionFailed.STATIC_PACKET);
		return;
	}

 

Got it ? :P

  • 1 month later...
  • 2 months later...
  • 5 weeks later...
  • 3 weeks later...
  • 3 weeks later...
  • 5 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...