Permalink
Browse files

..

  • Loading branch information...
1 parent b11fc22 commit 3e4240b5e5ddbd692edc0a44830229339f6a181a @fr34kyn01535 fr34kyn01535 committed Feb 3, 2016
View
@@ -11,6 +11,7 @@
using SDG.Unturned;
using UnityEngine;
using Steamworks;
+using Rocket.API.Serialisation;
namespace ZaupShop
{
@@ -60,9 +61,9 @@ public void Execute(IRocketPlayer caller, string[] msg)
bool[] perms = { false, false, false, false, false };
bool anyuse = false;
string message;
- foreach (string s in caller.GetPermissions())
+ foreach (Permission s in caller.GetPermissions())
{
- switch (s)
+ switch (s.Name)
{
case "shop.*":
perms[0] = true;
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.

0 comments on commit 3e4240b

Please sign in to comment.