Fixes tabbing on the SetDungeon command
This commit is contained in:
parent
a0078fbd6d
commit
ed78313994
1 changed files with 12 additions and 12 deletions
|
|
@ -512,11 +512,11 @@ namespace TShockAPI
|
|||
AllowServer = false,
|
||||
HelpText = "Sets the world's spawn point to your location."
|
||||
});
|
||||
add(new Command(Permissions.worldspawn, SetDungeon, "setdungeon")
|
||||
{
|
||||
AllowServer = false,
|
||||
HelpText = "Sets the dungeon's position to your location."
|
||||
});
|
||||
add(new Command(Permissions.worldspawn, SetDungeon, "setdungeon")
|
||||
{
|
||||
AllowServer = false,
|
||||
HelpText = "Sets the dungeon's position to your location."
|
||||
});
|
||||
add(new Command(Permissions.worldsettle, Settle, "settle")
|
||||
{
|
||||
HelpText = "Forces all liquids to update immediately."
|
||||
|
|
@ -3617,13 +3617,13 @@ namespace TShockAPI
|
|||
args.Player.SendSuccessMessage("Spawn has now been set at your location.");
|
||||
}
|
||||
|
||||
private static void SetDungeon(CommandArgs args)
|
||||
{
|
||||
Main.dungeonX = args.Player.TileX + 1;
|
||||
Main.dungeonY = args.Player.TileY + 3;
|
||||
SaveManager.Instance.SaveWorld(false);
|
||||
args.Player.SendSuccessMessage("The dungeon's position has now been set at your location.");
|
||||
}
|
||||
private static void SetDungeon(CommandArgs args)
|
||||
{
|
||||
Main.dungeonX = args.Player.TileX + 1;
|
||||
Main.dungeonY = args.Player.TileY + 3;
|
||||
SaveManager.Instance.SaveWorld(false);
|
||||
args.Player.SendSuccessMessage("The dungeon's position has now been set at your location.");
|
||||
}
|
||||
|
||||
private static void Reload(CommandArgs args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue