🆙 Small fix UserCreditsComposer

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.
This commit is contained in:
duckietm
2026-03-26 10:43:26 +01:00
parent 31ebb96a9c
commit b755828d85
@@ -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));
}