Skip to content

Commit

Permalink
Migrate LuaJLuaMachine to use Cobalt
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed May 7, 2017
1 parent c6790ad commit ab9b00a
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 272 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import dan200.computercraft.core.filesystem.FileSystem;
import dan200.computercraft.core.filesystem.FileSystemException;
import dan200.computercraft.core.lua.ILuaMachine;
import dan200.computercraft.core.lua.LuaJLuaMachine;
import dan200.computercraft.core.lua.CobaltLuaMachine;
import dan200.computercraft.core.terminal.Terminal;

import java.io.IOException;
Expand Down Expand Up @@ -622,7 +622,7 @@ private void createAPIs()
private void initLua()
{
// Create the lua machine
ILuaMachine machine = new LuaJLuaMachine( this );
ILuaMachine machine = new CobaltLuaMachine( this );

// Add the APIs
for(ILuaAPI api : m_apis)
Expand Down
Loading

0 comments on commit ab9b00a

Please sign in to comment.