Turn that stupid thing on by default.

This commit is contained in:
Lucas Nicodemus 2011-12-31 16:14:42 -07:00
parent a8e93455c9
commit 89b70f5612
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ namespace TShockAPI
[Description("Allows users to register any username with /register")] public bool AllowRegisterAnyUsername;
[Description("Allows users to login with any username with /login")]
public bool AllowLoginAnyUsername;
public bool AllowLoginAnyUsername = true;
public static ConfigFile Read(string path)
{

View file

@ -369,7 +369,7 @@ namespace TShockAPI
var difficulty = args.Data.ReadInt8();
string name = Encoding.ASCII.GetString(args.Data.ReadBytes((int) (args.Data.Length - args.Data.Position - 1)));
if (OnPlayerInfo((int)playerid, (int) hair, (int) male, (int) difficulty, name))
if (OnPlayerInfo(playerid, hair, male, difficulty, name))
{
TShock.Utils.ForceKick(args.Player, "A plugin cancelled the event.");
return true;