fix(network): Don't crash the user when they click the UO Store button (#710)
This commit is contained in:
parent
c2f28f9a98
commit
c0a8672db3
1 changed files with 17 additions and 0 deletions
17
Projects/UOContent/Engines/UltimaStore/UltimaStorePackets.cs
Normal file
17
Projects/UOContent/Engines/UltimaStore/UltimaStorePackets.cs
Normal 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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue