diff --git a/PVELoot.cs b/PVELoot.cs index a4ceeac..6b8a6b8 100644 --- a/PVELoot.cs +++ b/PVELoot.cs @@ -2,7 +2,7 @@ namespace Oxide.Plugins { - [Info("PVE Loot", "Grimston", "0.1.0")] + [Info("PVE Loot", "Grimston", "0.1.1")] [Description("Blocks players looting other players unless they are friends.")] class PVELoot : CovalencePlugin { @@ -17,7 +17,7 @@ bool CanLootPlayer(BasePlayer looter, BasePlayer target) } string authLevel = ServerUsers.Get(target.userID)?.group.ToString() ?? "None"; - if(looter.IsAdmin || authLevel.ToUpper() == "OWNER") { + if(looter.IsAdmin || authLevel.ToUpper() == "OWNER" || authLevel.ToUpper() == "MOD") { //Need to test MOD return true; }