Turn that stupid thing on by default.
This commit is contained in:
parent
a8e93455c9
commit
89b70f5612
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue