From b755828d85110539ce2b61c1dcc231949409e858 Mon Sep 17 00:00:00 2001 From: duckietm Date: Thu, 26 Mar 2026 10:43:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=99=20Small=20fix=20UserCreditsCompose?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit se this instead of this.client.getHabbo() since giveCredits() is already called on the Habbo instance itself. No need for the round-trip through the client. --- Emulator/src/main/java/com/eu/habbo/habbohotel/users/Habbo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emulator/src/main/java/com/eu/habbo/habbohotel/users/Habbo.java b/Emulator/src/main/java/com/eu/habbo/habbohotel/users/Habbo.java index 0bc6a604..399fc1c0 100644 --- a/Emulator/src/main/java/com/eu/habbo/habbohotel/users/Habbo.java +++ b/Emulator/src/main/java/com/eu/habbo/habbohotel/users/Habbo.java @@ -259,7 +259,7 @@ public class Habbo implements Runnable { this.getHabboInfo().addCredits(event.credits); - if (this.client != null) this.client.sendResponse(new UserCreditsComposer(this.client.getHabbo())); + if (this.client != null) this.client.sendResponse(new UserCreditsComposer(this)); }