1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 19:20:29 +00:00

Add TimeAPI to Computers APIs

This commit is contained in:
Tim Ittermann 2017-05-03 23:12:48 +02:00 committed by GitHub
parent c1d5ae2a09
commit b2cc6ec82a

View File

@ -615,6 +615,7 @@ public class Computer
m_apis.add( new PeripheralAPI( m_apiEnvironment ) ); m_apis.add( new PeripheralAPI( m_apiEnvironment ) );
m_apis.add( new OSAPI( m_apiEnvironment ) ); m_apis.add( new OSAPI( m_apiEnvironment ) );
m_apis.add( new BitAPI( m_apiEnvironment ) ); m_apis.add( new BitAPI( m_apiEnvironment ) );
m_apis.add( new TimeAPI() );
//m_apis.add( new BufferAPI( m_apiEnvironment ) ); //m_apis.add( new BufferAPI( m_apiEnvironment ) );
if( ComputerCraft.http_enable ) if( ComputerCraft.http_enable )
{ {