Minor bug fix.
This commit is contained in:
@@ -189,7 +189,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
public void CmdFactionWanted(Client player, string nameOrId, int amount, string reason)
|
public void CmdFactionWanted(Client player, string nameOrId, int amount, string reason)
|
||||||
{
|
{
|
||||||
User user = player.GetUser();
|
User user = player.GetUser();
|
||||||
if (user == null || (user.FactionId != 1 && user.FactionId != 2))
|
if (user == null || (user.FactionId != 1 && user.FactionId != 3))
|
||||||
{
|
{
|
||||||
ChatService.NotAuthorized(player);
|
ChatService.NotAuthorized(player);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user