change serverlist public ip address autodetection url

fixed base OnSubItemAdded being hidden in playermobile
This commit is contained in:
Mark Sturgill 2014-02-15 15:05:54 -07:00
parent 1b157e102d
commit 7bffaa645d
2 changed files with 3 additions and 1 deletions

View file

@ -170,7 +170,7 @@ namespace Server.Misc
private static IPAddress FindPublicAddress()
{
try {
WebRequest req = HttpWebRequest.Create( "http://www.runuo.com/ip.php" );
WebRequest req = HttpWebRequest.Create( "https://zenvera.com/ip.php" );
req.Timeout = 15000;
WebResponse res = req.GetResponse();

View file

@ -1306,6 +1306,8 @@ namespace Server.Mobiles
if ( curWeight > maxWeight )
this.SendLocalizedMessage( 1019035, true, String.Format( " : {0} / {1}", curWeight, maxWeight ) );
}
base.OnSubItemAdded(item);
}
public override bool CanBeHarmful( Mobile target, bool message, bool ignoreOurBlessedness )