From 22b38d5eba1c253e17fdf57f6b79e570940e6ee6 Mon Sep 17 00:00:00 2001 From: Yordi Date: Tue, 17 Jan 2023 12:50:32 +0100 Subject: [PATCH] Removal of sending the PurchaseErrorMessageComposer when you buy an item with a badge, Habbo doesn't send you the error that you already own the badge #1755 --- .../messages/incoming/catalog/PurchaseFromCatalogEvent.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/catalog/PurchaseFromCatalogEvent.java b/src/main/java/com/eu/habbo/messages/incoming/catalog/PurchaseFromCatalogEvent.java index cada42a7..12b2ebba 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/catalog/PurchaseFromCatalogEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/catalog/PurchaseFromCatalogEvent.java @@ -130,10 +130,6 @@ public class PurchaseFromCatalogEvent extends PurchaseEvent { } }); - if (badgeFound[0]) { - this.client.getHabbo().getClient().sendResponse(new PurchaseErrorMessageComposer(PurchaseErrorMessageComposer.ALREADY_HAVE_BADGE)); - } - return; } }