mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 08:20:51 +01:00
Redeem command fix for CF_diamond_ furniture
This commit is contained in:
parent
f81470f7ba
commit
06969df00a
@ -51,6 +51,15 @@ public class RedeemCommand extends Command {
|
||||
pointsType = Integer.valueOf(item.getBaseItem().getName().split("_")[1]);
|
||||
pointsAmount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]);
|
||||
|
||||
points.adjustOrPutValue(pointsType, pointsAmount, pointsAmount);
|
||||
}
|
||||
else if (item.getBaseItem().getName().startsWith("CF_diamond_")) {
|
||||
int pointsType;
|
||||
int pointsAmount;
|
||||
|
||||
pointsType = 5;
|
||||
pointsAmount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]);
|
||||
|
||||
points.adjustOrPutValue(pointsType, pointsAmount, pointsAmount);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user