Misc fixes
This commit is contained in:
@@ -7,7 +7,7 @@ import javax.annotation.Nullable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The recipe registry of the solderer, access it via {@link refinedstorage.api.RefinedStorageAPI#SOLDERER_REGISTRY}.
|
||||
* The recipe registry of the solderer.
|
||||
*/
|
||||
public interface ISoldererRegistry {
|
||||
/**
|
||||
|
||||
@@ -623,9 +623,11 @@ public class CommonProxy {
|
||||
}
|
||||
|
||||
public void init(FMLInitializationEvent e) {
|
||||
// NO OP
|
||||
}
|
||||
|
||||
public void postInit(FMLPostInitializationEvent e) {
|
||||
// NO OP
|
||||
}
|
||||
|
||||
private void registerBlock(BlockBase block) {
|
||||
|
||||
@@ -15,14 +15,12 @@ public class TileCraftingMonitor extends TileNode {
|
||||
@Override
|
||||
public List<ClientCraftingTask> getValue(TileCraftingMonitor tile) {
|
||||
if (tile.connected) {
|
||||
List<ClientCraftingTask> tasks = tile.network.getCraftingTasks().stream().map(t -> new ClientCraftingTask(
|
||||
return tile.network.getCraftingTasks().stream().map(t -> new ClientCraftingTask(
|
||||
t.getStatus(),
|
||||
t.getPattern().getOutputs(),
|
||||
t.getProgress(),
|
||||
t.getChild()
|
||||
)).collect(Collectors.toList());
|
||||
|
||||
return tasks;
|
||||
} else {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user