Fixed Accelerator core not interfacing completely with OpenComputers
This commit is contained in:
parent
3ebd225c6a
commit
755d1e8ec6
1 changed files with 8 additions and 8 deletions
|
@ -873,53 +873,53 @@ public class TileEntityAcceleratorCore extends TileEntityAbstractEnergyCoreOrCon
|
|||
|
||||
// OpenComputer callback methods
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] getControlPoints(final Context context, final Arguments arguments) {
|
||||
OC_convertArgumentsAndLogCall(context, arguments);
|
||||
return getControlPoints();
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] getControlPointsCount(final Context context, final Arguments arguments) {
|
||||
OC_convertArgumentsAndLogCall(context, arguments);
|
||||
return getControlPointsCount();
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] injectionPeriod(final Context context, final Arguments arguments) {
|
||||
return injectionPeriod(OC_convertArgumentsAndLogCall(context, arguments));
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] getParameters(final Context context, final Arguments arguments) {
|
||||
OC_convertArgumentsAndLogCall(context, arguments);
|
||||
return getParameters();
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] getParametersControlChannels(final Context context, final Arguments arguments) {
|
||||
OC_convertArgumentsAndLogCall(context, arguments);
|
||||
return getParametersControlChannels();
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] parameter(final Context context, final Arguments arguments) {
|
||||
return parameter(OC_convertArgumentsAndLogCall(context, arguments));
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] getControlPoint(final Context context, final Arguments arguments) {
|
||||
return getControlPoint(OC_convertArgumentsAndLogCall(context, arguments));
|
||||
}
|
||||
|
||||
@Callback(direct = true)
|
||||
@Optional.Method(modid = "OpenComputers")
|
||||
@Optional.Method(modid = "opencomputers")
|
||||
public Object[] state(final Context context, final Arguments arguments) {
|
||||
OC_convertArgumentsAndLogCall(context, arguments);
|
||||
return state();
|
||||
|
|
Loading…
Reference in a new issue