Some more trailing whitespace removal and minor ML code cleanup.

This commit is contained in:
eos 2012-01-07 04:39:54 +00:00
parent f4a7e8e283
commit 45bd3dba38
113 changed files with 365 additions and 410 deletions

View file

@ -0,0 +1,27 @@
using System;
using Server;
namespace Server
{
public static class MondainsLegacy
{
public static bool CheckML( Mobile from )
{
return CheckML( from, true );
}
public static bool CheckML( Mobile from, bool message )
{
if ( from == null || from.NetState == null )
return false;
if ( from.NetState.SupportsExpansion( Expansion.ML ) )
return true;
if ( message )
from.SendLocalizedMessage( 1072791 ); // You must upgrade to Mondain's Legacy in order to use that item.
return false;
}
}
}