fix(network): Don't crash the user when they click the UO Store button (#710)

This commit is contained in:
Kamron Batman 2021-08-21 00:14:40 -07:00 committed by GitHub
parent c2f28f9a98
commit c0a8672db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,17 @@
using Server.Network;
namespace Server.Engines.UltimaStore
{
public static class UltimaStorePackets
{
public static void Configure()
{
IncomingPackets.Register(0xFA, 1, true, UltimaStoreOpenRequest);
}
public static void UltimaStoreOpenRequest(NetState state, CircularBufferReader reader, ref int packetLength)
{
state.Mobile.SendMessage("Ultima Store is not currently available.");
}
}
}