Credits to Spot ify
replace the whole GetCatalogIndexEvents.cs
Code:
using Silverwave.Communication.Packets.Outgoing.Catalog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Silverwave.Communication.Packets.Incoming.Catalog
{
class GetCatalogIndexEvent : IPacketEvent
{
public void Parse(HabboHotel.GameClients.GameClient Session, Messages.ClientMessage Packet)
{
string check = Packet.PopFixedString();
int Sub = 0;
if (check != "BUILDERS_CLUB")
{
if (Session.GetHabbo().GetSubscriptionManager().HasSubscription)
{
Sub = Session.GetHabbo().GetSubscriptionManager().GetSubscription().SubscriptionId;
}
Session.SendMessage(new CatalogIndexComposer(Session, SilverwaveEnvironment.GetGame().GetCatalog().GetPages(), Sub));
}
}
}
}