mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #670 from Voxelstice/oc-stuff
a fix of a bug and one more function to the oc compat thingy
This commit is contained in:
commit
f90815897e
@ -555,6 +555,12 @@ public class TileEntityReactorZirnox extends TileEntityMachineBase implements IF
|
|||||||
return new Object[] {water.getFill()};
|
return new Object[] {water.getFill()};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Callback
|
||||||
|
@Optional.Method(modid = "OpenComputers")
|
||||||
|
public Object[] getSteam(Context context, Arguments args) {
|
||||||
|
return new Object[] {steam.getFill()};
|
||||||
|
}
|
||||||
|
|
||||||
@Callback
|
@Callback
|
||||||
@Optional.Method(modid = "OpenComputers")
|
@Optional.Method(modid = "OpenComputers")
|
||||||
public Object[] getCarbonDioxide(Context context, Arguments args) {
|
public Object[] getCarbonDioxide(Context context, Arguments args) {
|
||||||
|
|||||||
@ -354,9 +354,6 @@ public class TileEntityRBMKRod extends TileEntityRBMKSlottedBase implements IRBM
|
|||||||
// do some opencomputer stuff
|
// do some opencomputer stuff
|
||||||
@Override
|
@Override
|
||||||
public String getComponentName() {
|
public String getComponentName() {
|
||||||
if(isModerated() == true) {
|
|
||||||
return "rbmk_moderated_fuel_rod";
|
|
||||||
}
|
|
||||||
return "rbmk_fuel_rod";
|
return "rbmk_fuel_rod";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user