Alerting a non Alertable tile no longer crashes.

Planes can no longer pick up Item Entities without power.
This commit is contained in:
AlgorithmX2
2014-02-14 00:25:49 -06:00
parent 7f99e281f0
commit 8808ca63c3
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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 );