From c7025ff9c009f5b002464780abb1cef5ba98f18a Mon Sep 17 00:00:00 2001 From: Yordi Date: Tue, 15 Oct 2024 16:49:09 +0200 Subject: [PATCH] Removal of sending the AlertPurchaseFailedComposer when you buy an item with a badge --- .../habbo/messages/incoming/catalog/CatalogBuyItemEvent.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/catalog/CatalogBuyItemEvent.java b/src/main/java/com/eu/habbo/messages/incoming/catalog/CatalogBuyItemEvent.java index 1d6c06d1..b6e439ce 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/catalog/CatalogBuyItemEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/catalog/CatalogBuyItemEvent.java @@ -130,10 +130,6 @@ public class CatalogBuyItemEvent extends MessageHandler { } }); - if (badgeFound[0]) { - this.client.getHabbo().getClient().sendResponse(new AlertPurchaseFailedComposer(AlertPurchaseFailedComposer.ALREADY_HAVE_BADGE)); - } - return; } }