Jump to content
  • 0

L2jserver - core , event.java


Question

Posted

// Check for pet

if (player.getPet() != null)

{

player.getPet().unSummon(player);

 

unsummon error-The method unSummon(L2PcInstance) is undefined for the type Object

 

could anyone help me out here

8 answers to this question

Recommended Posts

  • 0
Posted

And with this?:

 

  if (player.getSummon() != null)
         {
            player.getSummon().unSummon(player);

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..