1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
This commit is contained in:
TheBusyBiscuit 2020-07-30 10:23:44 +02:00
parent ce18519808
commit 0412a2aec1
3 changed files with 14 additions and 1 deletions

View File

@ -57,6 +57,7 @@
* Fixed Metrics not updating automatically
* Fixed #2143
* Fixed #2145
* Fixed #2151
## Release Candidate 14 (12 Jul 2020)

View File

@ -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;
}
}

View File

@ -34,6 +34,18 @@ public class OreWasher extends MultiBlockMachine {
legacyMode = SlimefunPlugin.getCfg().getBoolean("options.legacy-ore-washer");
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() {