Fixed buying items with PC cafe points.

This commit is contained in:
MobiusDevelopment
2022-09-09 16:25:01 +00:00
parent 47d923f268
commit bc295b2454
3 changed files with 6 additions and 6 deletions

View File

@@ -326,9 +326,9 @@ public class MultisellData implements IXmlReader
{ {
case PC_CAFE_POINTS: case PC_CAFE_POINTS:
{ {
player.setPcCafePoints((player.getPcCafePoints() - amount)); player.setPcCafePoints(player.getPcCafePoints() - amount);
player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), -amount, 0)); player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), -amount, 0));
break; return true;
} }
case CLAN_REPUTATION: case CLAN_REPUTATION:
{ {

View File

@@ -327,9 +327,9 @@ public class MultisellData implements IXmlReader
{ {
case PC_CAFE_POINTS: 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)); player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -amount, 0));
break; return true;
} }
case CLAN_REPUTATION: case CLAN_REPUTATION:
{ {

View File

@@ -327,9 +327,9 @@ public class MultisellData implements IXmlReader
{ {
case PC_CAFE_POINTS: 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)); player.sendPacket(new ExPCCafePointInfo(player.getPcCafePoints(), (int) -amount, 0));
break; return true;
} }
case CLAN_REPUTATION: case CLAN_REPUTATION:
{ {