mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
man i was stupid (fix another bug with CCGT involving starting/stopping)
This commit is contained in:
parent
d8f4b32c05
commit
b98f2350b6
@ -620,15 +620,14 @@ public class TileEntityMachineTurbineGas extends TileEntityMachineBase implement
|
|||||||
@Callback(direct = true, limit = 4)
|
@Callback(direct = true, limit = 4)
|
||||||
@Optional.Method(modid = "OpenComputers")
|
@Optional.Method(modid = "OpenComputers")
|
||||||
public Object[] start(Context context, Arguments args) {
|
public Object[] start(Context context, Arguments args) {
|
||||||
stopIfNotReady();
|
state = -1;
|
||||||
startup();
|
|
||||||
return new Object[] {};
|
return new Object[] {};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Callback(direct = true, limit = 4)
|
@Callback(direct = true, limit = 4)
|
||||||
@Optional.Method(modid = "OpenComputers")
|
@Optional.Method(modid = "OpenComputers")
|
||||||
public Object[] stop(Context context, Arguments args) {
|
public Object[] stop(Context context, Arguments args) {
|
||||||
shutdown();
|
state = 0;
|
||||||
return new Object[] {};
|
return new Object[] {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user