Remove CF_diamond, which should be used for official habbo furniture. Use DF_5_furniname instead.

This commit is contained in:
harmonic 2020-07-10 19:05:45 +01:00
parent 69900e4afd
commit a7e70d2061

View File

@ -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) {
}
}
}
}