fix how rcon commands are handled
This commit is contained in:
parent
1e17a6edb4
commit
cfd659f90d
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ namespace TShockAPI
|
||||||
return "AutoSave " + (TShock.Config.AutoSave ? "Enabled" : "Disabled");
|
return "AutoSave " + (TShock.Config.AutoSave ? "Enabled" : "Disabled");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (!Commands.HandleCommand(TSPlayer.Server, text + "/"))
|
if (!Commands.HandleCommand(TSPlayer.Server, "/" + text))
|
||||||
return "Invalid command.";
|
return "Invalid command.";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue