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