Fixed summon name not showing.

This commit is contained in:
MobiusDev
2018-09-11 04:16:37 +00:00
parent 7abf95378f
commit d05e36cd1d
7 changed files with 14 additions and 91 deletions

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}

View File

@ -819,14 +819,7 @@ public abstract class L2Summon extends L2Playable
return;
}
if (isPet())
{
player.sendPacket(new ExPetInfo(this, player, val));
}
else
{
player.sendPacket(new SummonInfo(this, player, val));
}
player.sendPacket(new ExPetInfo(this, player, val));
});
}
@ -857,13 +850,9 @@ public abstract class L2Summon extends L2Playable
activeChar.sendPacket(new PetItemList(getInventory().getItems()));
}
}
else if (isPet())
{
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
else
{
activeChar.sendPacket(new SummonInfo(this, activeChar, 0));
activeChar.sendPacket(new ExPetInfo(this, activeChar, 0));
}
}