Skip to content

Commit

Permalink
Fix crash with ownership in concealment
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxar-tc committed May 29, 2016
1 parent 18f7f42 commit 67c97b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions EssentialsPlugin/AssemblyFileVersion.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//195
//197
//
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//

using System.Reflection;

[assembly: AssemblyFileVersion("1.13.6.195")]
[assembly: AssemblyVersion("1.13.6.195")]
[assembly: AssemblyFileVersion("1.13.6.197")]
[assembly: AssemblyVersion("1.13.6.197")]
2 changes: 1 addition & 1 deletion EssentialsPlugin/EntityManagers/EntityManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private static void ConcealEntity( MyEntity entity )
try
{
pos = 1;
long ownerId = ((MyCubeGrid)entity).BigOwners.First();
long ownerId = ((MyCubeGrid)entity).BigOwners.FirstOrDefault();
string ownerName = PlayerMap.Instance.GetPlayerNameFromPlayerId( ownerId );

if ( PluginSettings.Instance.DynamicShowMessages )
Expand Down

0 comments on commit 67c97b9

Please sign in to comment.