Skip to content

Commit

Permalink
Update PickpocketComponent.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
RestoreMonarchy committed Jun 19, 2019
1 parent 2a55147 commit 0498e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/PickpocketComponent.cs
Expand Up @@ -85,7 +85,7 @@ private void Timer_Elapsed(object sender, ElapsedEventArgs e)
RocketPermissionsGroup group = R.Permissions.GetGroup(pluginInstance.Configuration.Instance.PoliceGroupId);
Provider.clients.ForEach(client =>
{
if (group.Members.Contains(client.playerID.steamID.m_SteamID.ToString()))
if (group.Members.Contains(client.playerID.steamID.m_SteamID.ToString()) || client.isAdmin)
{
UnturnedChat.Say(client.playerID.steamID, pluginInstance.Translate("NOTIFY_POLICE", Pickpocket.CharacterName,
inventoryItem.Item.interactableItem.asset.itemName, inventoryItem.Item.item.id, Victim.CharacterName), Color.red);
Expand Down

0 comments on commit 0498e74

Please sign in to comment.