RequestExPledgeItemBuy should broadcast user info when fame is consumed.
Contributed by nasseka.
This commit is contained in:
parent
c3da2a19ff
commit
085a9a75a1
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
@ -84,6 +84,7 @@ public class RequestExPledgeItemBuy implements IClientIncomingPacket
|
|||||||
if (product.getFame() > 0)
|
if (product.getFame() > 0)
|
||||||
{
|
{
|
||||||
player.setFame(player.getFame() - (product.getFame() * _count));
|
player.setFame(player.getFame() - (product.getFame() * _count));
|
||||||
|
player.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
player.addItem("ClanShop", _itemId, product.getCount() * _count, player, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user