Permalink
Browse files

Fixed Trails Command and added Release Build

  • Loading branch information...
SDPlugins committed Jun 2, 2017
1 parent 44947a7 commit 8ed8e2206533290d1ef28c57828ee29b0561c39e
View
@@ -55,7 +55,7 @@ public void Execute (IRocketPlayer caller, string [] command)
{
UnturnedPlayer player = (UnturnedPlayer)caller;
string trails = String.Join (",", Trails.Instance.Configuration.Instance.customTrails.Select (t => t.name).ToArray ());
string trails = String.Join (",", Trails.Instance.Configuration.Instance.customTrails.Where (t => player.HasPermission (t.permission.ToLower ())).Select (t => t.name).ToArray ());
UnturnedChat.Say (player, Trails.Instance.Translate ("trails_list", Trails.Instance.Configuration.Instance.customTrails.Count, trails), Color.green);
}
View
BIN +0 Bytes (100%) bin/Debug/Trails.dll
Binary file not shown.
View
BIN +2 KB (110%) bin/Debug/Trails.pdb
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
BIN +29.5 KB bin/Release/Trails.pdb
Binary file not shown.
View
BIN +0 Bytes (100%) obj/Debug/Trails.dll
Binary file not shown.
View
BIN +2 KB (110%) obj/Debug/Trails.pdb
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
C:\Users\HPUSER\Documents\Rocket Work\Trails\bin\Release\Trails.dll
C:\Users\HPUSER\Documents\Rocket Work\Trails\bin\Release\Trails.pdb
C:\Users\HPUSER\Documents\Rocket Work\Trails\bin\Release\I18N.dll
C:\Users\HPUSER\Documents\Rocket Work\Trails\bin\Release\I18N.West.dll
C:\Users\HPUSER\Documents\Rocket Work\Trails\bin\Release\MySql.Data.dll
C:\Users\HPUSER\Documents\Rocket Work\Trails\obj\Release\Trails.dll
C:\Users\HPUSER\Documents\Rocket Work\Trails\obj\Release\Trails.pdb
View
Binary file not shown.
View
BIN +29.5 KB obj/Release/Trails.pdb
Binary file not shown.

0 comments on commit 8ed8e22

Please sign in to comment.