Rename methods that were ambiguous in meaning.

This renames some methods in the Utils class to better reflect what they
do or what they provide back. It should be clearer what these methods
are for now than before.
This commit is contained in:
Lucas Nicodemus 2017-12-29 08:50:13 -07:00
parent 332e6b2518
commit 4eebaf6c44
4 changed files with 7 additions and 5 deletions

View file

@ -154,7 +154,7 @@ namespace TShockAPI
{
if (string.IsNullOrWhiteSpace(line))
continue;
contains = TShock.Utils.GetIPv4Address(line).Equals(ip);
contains = TShock.Utils.GetIPv4AddressFromHostname(line).Equals(ip);
if (contains)
return true;
}