Tab formatting issue
This commit is contained in:
parent
6bb3a2f2ab
commit
10de490c86
2 changed files with 7 additions and 7 deletions
|
|
@ -5194,11 +5194,11 @@ namespace TShockAPI
|
||||||
TSPlayer playerToGod;
|
TSPlayer playerToGod;
|
||||||
if (args.Parameters.Count > 0)
|
if (args.Parameters.Count > 0)
|
||||||
{
|
{
|
||||||
if (!args.Player.Group.HasPermission(Permissions.godmodeother))
|
if (!args.Player.Group.HasPermission(Permissions.godmodeother))
|
||||||
{
|
{
|
||||||
args.Player.SendErrorMessage("You do not have permission to god mode another player!");
|
args.Player.SendErrorMessage("You do not have permission to god mode another player!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
string plStr = String.Join(" ", args.Parameters);
|
string plStr = String.Join(" ", args.Parameters);
|
||||||
var players = TShock.Utils.FindPlayer(plStr);
|
var players = TShock.Utils.FindPlayer(plStr);
|
||||||
if (players.Count == 0)
|
if (players.Count == 0)
|
||||||
|
|
|
||||||
|
|
@ -349,8 +349,8 @@ namespace TShockAPI
|
||||||
[Description("Player recovers health as damage is taken. Can be one shotted.")]
|
[Description("Player recovers health as damage is taken. Can be one shotted.")]
|
||||||
public static readonly string godmode = "tshock.godmode";
|
public static readonly string godmode = "tshock.godmode";
|
||||||
|
|
||||||
[Description("User can godmode other players")]
|
[Description("User can godmode other players")]
|
||||||
public static readonly string godmodeother = "tshock.godmode.other";
|
public static readonly string godmodeother = "tshock.godmode.other";
|
||||||
|
|
||||||
[Description("Player can chat")]
|
[Description("Player can chat")]
|
||||||
public static readonly string canchat = "tshock.canchat";
|
public static readonly string canchat = "tshock.canchat";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue