Added world size to world command.
This commit is contained in:
parent
8a7bdf6697
commit
93c76f6d53
1 changed files with 1 additions and 0 deletions
|
|
@ -742,6 +742,7 @@ namespace TShockAPI
|
||||||
public static void WorldInfo(CommandArgs args)
|
public static void WorldInfo(CommandArgs args)
|
||||||
{
|
{
|
||||||
args.Player.SendInfoMessage("World name: " + Main.worldName);
|
args.Player.SendInfoMessage("World name: " + Main.worldName);
|
||||||
|
args.Player.SendInfoMessage("World size: {0}x{1}", Main.maxTilesX, Main.maxTilesY);
|
||||||
args.Player.SendInfoMessage("World ID: " + Main.worldID);
|
args.Player.SendInfoMessage("World ID: " + Main.worldID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue