Changed ExSummonHomunculusCouponResult constructor method.
Contributed by nasseka.
This commit is contained in:
@@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
|||||||
{
|
{
|
||||||
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
||||||
player.sendPacket(new ExShowHomunculusList(player));
|
player.sendPacket(new ExShowHomunculusList(player));
|
||||||
player.sendPacket(new ExSummonHomunculusCouponResult(homunculus.getSlot()));
|
player.sendPacket(new ExSummonHomunculusCouponResult(1, homunculus.getSlot()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -26,17 +26,12 @@ import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
|||||||
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
||||||
{
|
{
|
||||||
private final int _slot;
|
private final int _slot;
|
||||||
private int _success;
|
private final int _success;
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot)
|
public ExSummonHomunculusCouponResult(int success, int slot)
|
||||||
{
|
{
|
||||||
_slot = slot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot, int success)
|
|
||||||
{
|
|
||||||
_slot = slot;
|
|
||||||
_success = success;
|
_success = success;
|
||||||
|
_slot = slot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
|||||||
{
|
{
|
||||||
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
||||||
player.sendPacket(new ExShowHomunculusList(player));
|
player.sendPacket(new ExShowHomunculusList(player));
|
||||||
player.sendPacket(new ExSummonHomunculusCouponResult(homunculus.getSlot()));
|
player.sendPacket(new ExSummonHomunculusCouponResult(1, homunculus.getSlot()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -26,17 +26,12 @@ import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
|||||||
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
||||||
{
|
{
|
||||||
private final int _slot;
|
private final int _slot;
|
||||||
private int _success;
|
private final int _success;
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot)
|
public ExSummonHomunculusCouponResult(int success, int slot)
|
||||||
{
|
{
|
||||||
_slot = slot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot, int success)
|
|
||||||
{
|
|
||||||
_slot = slot;
|
|
||||||
_success = success;
|
_success = success;
|
||||||
|
_slot = slot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
|||||||
{
|
{
|
||||||
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
player.sendPacket(new ExShowHomunculusBirthInfo(player));
|
||||||
player.sendPacket(new ExShowHomunculusList(player));
|
player.sendPacket(new ExShowHomunculusList(player));
|
||||||
player.sendPacket(new ExSummonHomunculusCouponResult(homunculus.getSlot()));
|
player.sendPacket(new ExSummonHomunculusCouponResult(1, homunculus.getSlot()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -26,17 +26,12 @@ import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
|||||||
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
public class ExSummonHomunculusCouponResult implements IClientOutgoingPacket
|
||||||
{
|
{
|
||||||
private final int _slot;
|
private final int _slot;
|
||||||
private int _success;
|
private final int _success;
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot)
|
public ExSummonHomunculusCouponResult(int success, int slot)
|
||||||
{
|
{
|
||||||
_slot = slot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ExSummonHomunculusCouponResult(int slot, int success)
|
|
||||||
{
|
|
||||||
_slot = slot;
|
|
||||||
_success = success;
|
_success = success;
|
||||||
|
_slot = slot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user