1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-25 02:47:39 +00:00

Add back a couple of methods for CCEmuX compat

This commit is contained in:
SquidDev
2019-02-23 12:46:09 +00:00
parent a4cd1fe77d
commit 35645b3d93
2 changed files with 14 additions and 5 deletions

View File

@@ -546,6 +546,12 @@ public class Computer
ComputerThread.queueTask( task, computer );
}
@Deprecated
public IPeripheral getPeripheral( int side )
{
return m_internalEnvironment.getPeripheral( side );
}
@Deprecated
public void setPeripheral( int side, IPeripheral peripheral )
{
@@ -564,4 +570,6 @@ public class Computer
{
advance();
}
public static final String[] s_sideNames = IAPIEnvironment.SIDE_NAMES;
}