Pvp with no team (#2851)
* Update TShockConfig.cs * Update TShock.cs * Update GetDataHandlers.cs * Update changelog.md * Update GetDataHandlers.cs * Update changelog.md * Update changelog.md * Update changelog.md
This commit is contained in:
parent
95d157fd5d
commit
e46bbe99c0
4 changed files with 8 additions and 5 deletions
|
|
@ -1676,7 +1676,7 @@ namespace TShockAPI
|
|||
player.SendFileTextAsMessage(FileTools.MotdPath);
|
||||
|
||||
string pvpMode = Config.Settings.PvPMode.ToLowerInvariant();
|
||||
if (pvpMode == "always")
|
||||
if (pvpMode == "always" || pvpMode == "pvpwithnoteam")
|
||||
{
|
||||
player.TPlayer.hostile = true;
|
||||
player.SendData(PacketTypes.TogglePvp, "", player.Index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue