diff --git a/src/main/java/dan200/computercraft/core/lua/CobaltLuaMachine.java b/src/main/java/dan200/computercraft/core/lua/CobaltLuaMachine.java index 2de41b96c..55a986e16 100644 --- a/src/main/java/dan200/computercraft/core/lua/CobaltLuaMachine.java +++ b/src/main/java/dan200/computercraft/core/lua/CobaltLuaMachine.java @@ -242,7 +242,7 @@ public class CobaltLuaMachine implements ILuaMachine } catch( InterruptedException e ) { - throw new OrphanedThread(); + throw new InterruptedError( e ); } catch( LuaException e ) {