Fix guild badge not showing when favorite changed.

This commit is contained in:
Beny 2019-05-15 23:01:37 +01:00
parent 4e1f3c3ff9
commit f7c42c055b

View File

@ -29,11 +29,10 @@ public class GuildSetFavoriteEvent extends MessageHandler
if(this.client.getHabbo().getHabboInfo().getCurrentRoom() != null)
{
if(guild != null)
{
this.client.getHabbo().getHabboInfo().getCurrentRoom().sendComposer(new GuildFavoriteRoomUserUpdateComposer(this.client.getHabbo().getRoomUnit(), guild).compose());
this.client.getHabbo().getHabboInfo().getCurrentRoom().sendComposer(new RoomUsersAddGuildBadgeComposer(guild).compose());
this.client.getHabbo().getHabboInfo().getCurrentRoom().sendComposer(new GuildFavoriteRoomUserUpdateComposer(this.client.getHabbo().getRoomUnit(), guild).compose());
}
}