Extreamer Posted August 10, 2013 Share Posted August 10, 2013 // 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 Link to comment Share on other sites More sharing options...
0 SweeTs Posted August 10, 2013 Share Posted August 10, 2013 Show the whole content, where you try to put it. Link to comment Share on other sites More sharing options...
0 Extreamer Posted August 10, 2013 Author Share Posted August 10, 2013 http://www.mediafire.com/?x83bfm2jolrg47i the event.java in full :) Link to comment Share on other sites More sharing options...
0 Ovenuç® Posted August 10, 2013 Share Posted August 10, 2013 http://www.mediafire.com/?x83bfm2jolrg47i the event.java in full :) what pack you use? Link to comment Share on other sites More sharing options...
0 Extreamer Posted August 10, 2013 Author Share Posted August 10, 2013 L2jserver - core - this means L2j clean Link to comment Share on other sites More sharing options...
0 SweeTs Posted August 10, 2013 Share Posted August 10, 2013 As I see on da l2j svn it uses getSummon().unSummon(this); Try it and give feedback :D Link to comment Share on other sites More sharing options...
0 ^Wyatt Posted August 10, 2013 Share Posted August 10, 2013 And with this?: if (player.getSummon() != null) { player.getSummon().unSummon(player); Link to comment Share on other sites More sharing options...
0 Extreamer Posted August 10, 2013 Author Share Posted August 10, 2013 perfect, no errors, muchos gracias both of you, now everything will be rocking and rolling ! Link to comment Share on other sites More sharing options...
0 FighterBoss Posted August 11, 2013 Share Posted August 11, 2013 perfect, no errors, muchos gracias both of you, now everything will be rocking and rolling ! Locked then :) . Link to comment Share on other sites More sharing options...
Question
Extreamer
// 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
Link to comment
Share on other sites
8 answers to this question
Recommended Posts