Fixed Accelerator core not interfacing completely with OpenComputers

This commit is contained in:
Unknown 2019-09-16 10:34:38 +02:00 committed by unknown
parent 3ebd225c6a
commit 755d1e8ec6

View file

@ -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();