diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs
index ba060a38..762ddeef 100755
--- a/TShockAPI/TShock.cs
+++ b/TShockAPI/TShock.cs
@@ -281,7 +281,6 @@ namespace TShockAPI
RememberedPos = new RememberedPosManager(DB);
CharacterDB = new CharacterManager(DB);
RestApi = new SecureRest(Netplay.ServerIP, Config.RestApiPort);
- RestApi.Port = Config.RestApiPort;
RestManager = new RestManager(RestApi);
RestManager.RegisterRestfulCommands();
@@ -1567,7 +1566,7 @@ namespace TShockAPI
/// tileX - The x coordinate of the tile.
/// tileY - The y coordinate of the tile.
/// paint - Whether or not the tile is paint.
- /// bool - True if the player should not be able to modify a the tile.
+ /// bool - True if the player should not be able to modify the tile.
public static bool CheckTilePermission(TSPlayer player, int tileX, int tileY, bool paint = false)
{
if ((!paint && !player.Group.HasPermission(Permissions.canbuild)) ||