Alerting a non Alertable tile no longer crashes.
Planes can no longer pick up Item Entities without power.
This commit is contained in:
Vendored
+3
-1
@@ -107,7 +107,9 @@ public class TickManagerCache implements ITickManager
|
|||||||
{
|
{
|
||||||
TickTracker tt = alertable.get( node );
|
TickTracker tt = alertable.get( node );
|
||||||
if ( tt == null )
|
if ( tt == null )
|
||||||
throw new RuntimeException( "Invalid Alertted device, this node is not marked as alertable, or part of this grid." );
|
return false;
|
||||||
|
// throw new RuntimeException(
|
||||||
|
// "Invalid Alertted device, this node is not marked as alertable, or part of this grid." );
|
||||||
|
|
||||||
// set to awake, this is for sanity.
|
// set to awake, this is for sanity.
|
||||||
sleeping.remove( node );
|
sleeping.remove( node );
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( capture && Platform.isServer() )
|
if ( capture && Platform.isServer() && proxy.isActive() )
|
||||||
{
|
{
|
||||||
IAEItemStack stack = AEItemStack.create( ((EntityItem) entity).getEntityItem() );
|
IAEItemStack stack = AEItemStack.create( ((EntityItem) entity).getEntityItem() );
|
||||||
if ( stack != null )
|
if ( stack != null )
|
||||||
|
|||||||
Reference in New Issue
Block a user