From a7e70d206128afc58c6a9f0d528f9b6a7d7c180d Mon Sep 17 00:00:00 2001 From: harmonic Date: Fri, 10 Jul 2020 19:05:45 +0100 Subject: [PATCH] Remove CF_diamond, which should be used for official habbo furniture. Use DF_5_furniname instead. --- .../com/eu/habbo/habbohotel/commands/RedeemCommand.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/commands/RedeemCommand.java b/src/main/java/com/eu/habbo/habbohotel/commands/RedeemCommand.java index b88d5352..21db5c7f 100644 --- a/src/main/java/com/eu/habbo/habbohotel/commands/RedeemCommand.java +++ b/src/main/java/com/eu/habbo/habbohotel/commands/RedeemCommand.java @@ -52,12 +52,6 @@ public class RedeemCommand extends Command { pointsAmount = Integer.valueOf(item.getBaseItem().getName().split("_")[2]); 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) { - } } } }