Fixed buying items with PC cafe points.
This commit is contained in:
@@ -326,9 +326,9 @@ public class MultisellData implements IXmlReader
|
||||
{
|
||||
case PC_CAFE_POINTS:
|
||||
{
|
||||
player.setPcCafePoints((player.getPcCafePoints() - amount));
|
||||
player.setPcCafePoints(player.getPcCafePoints() - amount);
|
||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), -amount, 0));
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
case CLAN_REPUTATION:
|
||||
{
|
||||
|
@@ -327,9 +327,9 @@ public class MultisellData implements IXmlReader
|
||||
{
|
||||
case PC_CAFE_POINTS:
|
||||
{
|
||||
player.setPcCafePoints((player.getPcCafePoints() - (int) amount));
|
||||
player.setPcCafePoints(player.getPcCafePoints() - (int) amount);
|
||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -amount, 0));
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
case CLAN_REPUTATION:
|
||||
{
|
||||
|
@@ -327,9 +327,9 @@ public class MultisellData implements IXmlReader
|
||||
{
|
||||
case PC_CAFE_POINTS:
|
||||
{
|
||||
player.setPcCafePoints((player.getPcCafePoints() - (int) amount));
|
||||
player.setPcCafePoints(player.getPcCafePoints() - (int) amount);
|
||||
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -amount, 0));
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
case CLAN_REPUTATION:
|
||||
{
|
||||
|
Reference in New Issue
Block a user