EDIT: SOLUTION
The Solution was to rewrite the getAllBlocksOfTypeFunction without sub-generic in the return Value
ORIGINAL:
Hi,
it's me again ...
I'm currently trying to create a ship Management Script, which worked fine with just the AirLock and Oxygen Management.
But after adding an "Door Auto Close"...
[SOLVED] Caught Exception during Execution WITHOUT executing!
The Solution was to rewrite the getAllBlocksOfTypeFunction without sub-generic in the return Value
Code:
public List<IMyTerminalBlock> getAllBlocksOfType<T>()
{
List<IMyTerminalBlock> b = new List<IMyTerminalBlock>();
GridTerminalSystem.GetBlocksOfType<T>(b);
return b;
}
ORIGINAL:
Hi,
it's me again ...
I'm currently trying to create a ship Management Script, which worked fine with just the AirLock and Oxygen Management.
But after adding an "Door Auto Close"...
[SOLVED] Caught Exception during Execution WITHOUT executing!