Corrected compat ForceKick method signature
This commit is contained in:
parent
18e52d1a25
commit
dbda83b8e7
1 changed files with 3 additions and 3 deletions
|
|
@ -532,9 +532,9 @@ namespace TShockAPI
|
||||||
|
|
||||||
#if COMPAT_SIGS
|
#if COMPAT_SIGS
|
||||||
[Obsolete("This method is for signature compatibility for external code only")]
|
[Obsolete("This method is for signature compatibility for external code only")]
|
||||||
public bool ForceKick(TSPlayer player, string reason)
|
public void ForceKick(TSPlayer player, string reason)
|
||||||
{
|
{
|
||||||
return Kick(player, reason, true, false, string.Empty);
|
Kick(player, reason, true, false, string.Empty);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -801,4 +801,4 @@ namespace TShockAPI
|
||||||
return new string(returnstr);
|
return new string(returnstr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue