Changed ExSummonHomunculusCouponResult constructor method.
Contributed by nasseka.
This commit is contained in:
parent
257eae3f30
commit
bd70a75b57
@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
||||
{
|
||||
player.sendPacket(new ExShowHomunculusBirthInfo(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
|
||||
{
|
||||
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;
|
||||
_slot = slot;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
||||
{
|
||||
player.sendPacket(new ExShowHomunculusBirthInfo(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
|
||||
{
|
||||
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;
|
||||
_slot = slot;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -129,7 +129,7 @@ public class RequestExSummonHomunculusCouponResult implements IClientIncomingPac
|
||||
{
|
||||
player.sendPacket(new ExShowHomunculusBirthInfo(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
|
||||
{
|
||||
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;
|
||||
_slot = slot;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user