Proper count for prime shop gifts.
Contributed by SmiDmi.
This commit is contained in:
parent
0d2a91b609
commit
6928cb8ce2
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ public class RequestBRPresentBuyProduct implements IClientIncomingPacket
|
||||
final Mail attachement = mail.createAttachments();
|
||||
for (PrimeShopItem subItem : item.getItems())
|
||||
{
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount(), player, this);
|
||||
attachement.addItem("Prime Shop Gift", subItem.getId(), subItem.getCount() * _count, player, this);
|
||||
}
|
||||
MailManager.getInstance().sendMessage(mail);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user