mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Remove CF_diamond, which should be used for official habbo furniture. Use DF_5_furniname instead.
This commit is contained in:
parent
69900e4afd
commit
a7e70d2061
@ -52,12 +52,6 @@ public class RedeemCommand extends Command {
|
|||||||
pointsAmount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]);
|
pointsAmount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]);
|
||||||
|
|
||||||
points.adjustOrPutValue(pointsType, pointsAmount, pointsAmount);
|
points.adjustOrPutValue(pointsType, pointsAmount, pointsAmount);
|
||||||
} else if (item.getBaseItem().getName().startsWith("CF_diamond_")) {
|
|
||||||
try {
|
|
||||||
int amount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]);
|
|
||||||
points.adjustOrPutValue(5, amount, amount);
|
|
||||||
} catch (Exception e) {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user