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 );
|
||||
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.
|
||||
sleeping.remove( node );
|
||||
|
||||
Reference in New Issue
Block a user