mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-24 04:50:30 -04:00
Revert "Fixed issue with getting heat from GT Cells due to creative decision regarding canStoreHeat
"
This reverts commit dd69c680e52e66d7a2b2f4dd3062e883584788d4.
This commit is contained in:
parent
64505555f9
commit
4ba797d5bf
@ -14,10 +14,9 @@ public class ConverterReactorHeatStorage implements Converter {
|
|||||||
final Item item = stack.getItem();
|
final Item item = stack.getItem();
|
||||||
if (item instanceof IReactorComponent) {
|
if (item instanceof IReactorComponent) {
|
||||||
final IReactorComponent reactorComponent = (IReactorComponent) item;
|
final IReactorComponent reactorComponent = (IReactorComponent) item;
|
||||||
int maxHeat = reactorComponent.getMaxHeat(null, stack, 0, 0);
|
if (reactorComponent.canStoreHeat(null, stack, 0, 0)) {
|
||||||
if (maxHeat > 0) {
|
|
||||||
output.put("heat", reactorComponent.getCurrentHeat(null, stack, 0, 0));
|
output.put("heat", reactorComponent.getCurrentHeat(null, stack, 0, 0));
|
||||||
output.put("maxHeat", maxHeat);
|
output.put("maxHeat", reactorComponent.getMaxHeat(null, stack, 0, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user