Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 89c71e2

Browse files
committed
Updated to compile against current SE and SESE
1 parent fa721f8 commit 89c71e2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
//2452
1+
//2458
22
//
33
// This code was generated by a tool. Any changes made manually will be lost
44
// the next time this code is regenerated.
55
//
66

77
using System.Reflection;
88

9-
[assembly: AssemblyFileVersion("1.13.3.2452")]
10-
[assembly: AssemblyVersion("1.13.3.2452")]
9+
[assembly: AssemblyFileVersion("1.13.3.2458")]
10+
[assembly: AssemblyVersion("1.13.3.2458")]

EssentialsPlugin/ProcessHandlers/ProcessSpawnShipTracking.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ public override void Handle()
7676
}
7777
catch (Exception ex)
7878
{
79-
Essentials.Log.Error( "Error stopping spawnship: {0}", ex );
79+
Essentials.Log.Error( ex, "Error stopping spawnship: {0}", ex );
8080
}
8181
});
8282
}
8383
}
8484
}
85-
85+
8686
base.Handle();
8787
}
8888
}

EssentialsPlugin/Utility/CubeGrid.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static void GetGridsUnconnected( HashSet<IMyEntity> connectedList, HashSe
128128
if ( stator.RotorEntityId != 0 )
129129
{
130130
IMyEntity connectedEntity;
131-
MyAPIGateway.Entities.TryGetEntityById( stator.RotorEntityId, out connectedEntity );
131+
MyAPIGateway.Entities.TryGetEntityById( (long) stator.RotorEntityId, out connectedEntity );
132132

133133
if ( connectedEntity != null )
134134
{
@@ -150,7 +150,7 @@ public static void GetGridsUnconnected( HashSet<IMyEntity> connectedList, HashSe
150150
if ( stator.RotorEntityId != 0 )
151151
{
152152
IMyEntity connectedEntity;
153-
MyAPIGateway.Entities.TryGetEntityById( stator.RotorEntityId, out connectedEntity );
153+
MyAPIGateway.Entities.TryGetEntityById( (long) stator.RotorEntityId, out connectedEntity );
154154

155155
if ( connectedEntity != null )
156156
{
@@ -1595,7 +1595,7 @@ private static List<IMyCubeGrid> GetConnectedGridList( HashSet<IMyEntity> checke
15951595
{
15961596
MyObjectBuilder_MotorAdvancedStator stator = (MyObjectBuilder_MotorAdvancedStator)cubeBlock.GetObjectBuilderCubeBlock( );
15971597
IMyEntity connectedEntity;
1598-
if ( MyAPIGateway.Entities.TryGetEntityById( stator.RotorEntityId, out connectedEntity ) )
1598+
if ( MyAPIGateway.Entities.TryGetEntityById( (long) stator.RotorEntityId, out connectedEntity ) )
15991599
{
16001600
IMyCubeGrid parent = (IMyCubeGrid)connectedEntity.Parent;
16011601
if ( !checkedGrids.Contains( parent ) )

0 commit comments

Comments
 (0)