frisk typo, hanf nur für gangs, 10 cannabis für 1 joint, no riot frisk

This commit is contained in:
hydrant
2021-05-27 22:07:10 +02:00
parent 60fedce0bc
commit 5fb233cef5
4 changed files with 20 additions and 23 deletions

View File

@@ -819,19 +819,19 @@ namespace ReallifeGamemode.Server.Events
}
}
if (isNearCannabisSeedBuyPoint)
if (isNearCannabisSeedBuyPoint && user.Faction?.GangOwned == true)
{
HanfManager.ShowPlayerBuySeedMenu(player);
return;
}
if (isNearJointManufacturerPoint)
if (isNearJointManufacturerPoint && user.Faction?.GangOwned == true)
{
HanfManager.BuildJointsFromCannabis(player);
return;
}
if (isNearCannabisSellPoint)
if (isNearCannabisSellPoint && user.Faction?.GangOwned == true)
{
HanfManager.PlayerSellCannabis(player);
return;