You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-20 23:36:19 +00:00
🆙 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:
@@ -259,7 +259,7 @@ public class Habbo implements Runnable {
|
|||||||
|
|
||||||
this.getHabboInfo().addCredits(event.credits);
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user