Skip to content

Commit

Permalink
Fix invsee bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Scavenger3 committed Oct 11, 2013
1 parent 72ee6da commit d009d2a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
Binary file modified Build/Essentials.dll
Binary file not shown.
Binary file modified Build/SignCommands.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Essentials/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5")]
[assembly: AssemblyFileVersion("1.5")]
[assembly: AssemblyVersion("1.5.1")]
[assembly: AssemblyFileVersion("1.5.1")]
5 changes: 4 additions & 1 deletion Essentials/esMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,10 @@ private void CMDinvsee(CommandArgs args)

var PlayerChar = new PlayerData(args.Player);
PlayerChar.CopyCharacter(args.Player);
ePly.InvSee = PlayerChar;
if (ePly.InvSee == null)
{
ePly.InvSee = PlayerChar;
}

var CopyChar = new PlayerData(PlayersFound[0]);
CopyChar.CopyCharacter(PlayersFound[0]);
Expand Down
Binary file modified Refs/TShockAPI.dll
Binary file not shown.
Binary file modified Refs/TerrariaServer.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions SignCommands/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5")]
[assembly: AssemblyFileVersion("1.5")]
[assembly: AssemblyVersion("1.5.1")]
[assembly: AssemblyFileVersion("1.5.1")]

0 comments on commit d009d2a

Please sign in to comment.