fix packet throttling with handler overlay
This commit is contained in:
parent
d5ebe946e9
commit
4915268e43
3 changed files with 17 additions and 18 deletions
|
|
@ -389,11 +389,7 @@ namespace Server.Mobiles
|
|||
public static void Initialize()
|
||||
{
|
||||
if ( FastwalkPrevention )
|
||||
{
|
||||
PacketHandler ph = PacketHandlers.GetHandler( 0x02 );
|
||||
|
||||
ph.ThrottleCallback = new ThrottlePacketCallback( MovementThrottle_Callback );
|
||||
}
|
||||
PacketHandlers.RegisterThrottler( 0x02, new ThrottlePacketCallback( MovementThrottle_Callback ) );
|
||||
|
||||
EventSink.Login += new LoginEventHandler( OnLogin );
|
||||
EventSink.Logout += new LogoutEventHandler( OnLogout );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue