Mav why did you remove ConfigurationManager.startedInvasion without removing its use.
This commit is contained in:
parent
3bbbafc94d
commit
cfc05e1663
1 changed files with 2 additions and 3 deletions
|
|
@ -501,8 +501,7 @@ namespace TShockAPI
|
||||||
Main.player[who].hostile = true;
|
Main.player[who].hostile = true;
|
||||||
NetMessage.SendData(30, -1, -1, "", who);
|
NetMessage.SendData(30, -1, -1, "", who);
|
||||||
}
|
}
|
||||||
if (players[who].group.HasPermission("causeevents") && ConfigurationManager.infiniteInvasion &&
|
if (players[who].group.HasPermission("causeevents") && ConfigurationManager.infiniteInvasion)
|
||||||
!ConfigurationManager.startedInvasion)
|
|
||||||
{
|
{
|
||||||
StartInvasion();
|
StartInvasion();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue