mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #2151
This commit is contained in:
parent
ce18519808
commit
0412a2aec1
@ -57,6 +57,7 @@
|
||||
* Fixed Metrics not updating automatically
|
||||
* Fixed #2143
|
||||
* Fixed #2145
|
||||
* Fixed #2151
|
||||
|
||||
## Release Candidate 14 (12 Jul 2020)
|
||||
|
||||
|
@ -175,7 +175,7 @@ public class MetricsService {
|
||||
return node.getObject().getInt("tag_name");
|
||||
}
|
||||
catch (UnirestException e) {
|
||||
plugin.getLogger().log(Level.SEVERE, "Failed to fetch latest builds for SFMetrics");
|
||||
plugin.getLogger().log(Level.WARNING, "Failed to fetch latest builds for Metrics: {0}", e.getMessage());
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +35,18 @@ public class OreWasher extends MultiBlockMachine {
|
||||
dusts = new ItemStack[] { SlimefunItems.IRON_DUST, SlimefunItems.GOLD_DUST, SlimefunItems.COPPER_DUST, SlimefunItems.TIN_DUST, SlimefunItems.ZINC_DUST, SlimefunItems.ALUMINUM_DUST, SlimefunItems.MAGNESIUM_DUST, SlimefunItems.LEAD_DUST, SlimefunItems.SILVER_DUST };
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerDefaultRecipes(List<ItemStack> recipes) {
|
||||
// Iron and Gold are displayed as Ore Crusher recipes, as that is their primary
|
||||
// way of obtainining them. But we also wanna display them here, so we just
|
||||
// add these two recipes manually
|
||||
recipes.add(SlimefunItems.SIFTED_ORE);
|
||||
recipes.add(SlimefunItems.IRON_DUST);
|
||||
|
||||
recipes.add(SlimefunItems.SIFTED_ORE);
|
||||
recipes.add(SlimefunItems.GOLD_DUST);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ItemStack> getDisplayRecipes() {
|
||||
return recipes.stream().map(items -> items[0]).collect(Collectors.toList());
|
||||
|
Loading…
Reference in New Issue
Block a user