1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Another fix and an addition

This commit is contained in:
TheBusyBiscuit 2020-06-27 14:22:45 +02:00
parent 50aaa4b965
commit 4314581a61
3 changed files with 8 additions and 3 deletions

View File

@ -32,6 +32,7 @@
* Added Magical Zombie Pills
* Added 1.13 compatibility to the Auto Drier
* Added Corals to the fuel list for the Bio Generator
* Added Clay -> Clay blocks recipe to the Electric Press
* (1.16+) Slimefun guide can now show Smithing Table recipes
* (1.16+) Added Nether Gold Ore recipe to the Ore Crusher
* (1.16+) Added Shroomlights to the fuel list for the Bio Generator
@ -61,6 +62,7 @@
* Fixed some issues with AsyncWorldEdit
* Fixed some problems with unregistered or fake worlds
* Fixed a rare concurrency issue with world saving
* Fixed some contributors showing up twice
## Release Candidate 13 (16 Jun 2020)
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#13

View File

@ -73,10 +73,12 @@ public class GitHubService {
contributors.put(name, contributor);
}
public Contributor addContributor(String name, String profile, String role, int commits) {
Contributor contributor = contributors.computeIfAbsent(name, key -> new Contributor(name, profile));
public Contributor addContributor(String minecraftName, String profile, String role, int commits) {
String username = profile.substring(profile.lastIndexOf('/') + 1);
Contributor contributor = contributors.computeIfAbsent(username, key -> new Contributor(minecraftName, profile));
contributor.setContribution(role, commits);
contributor.setUniqueId(uuidCache.getUUID(name));
contributor.setUniqueId(uuidCache.getUUID(minecraftName));
return contributor;
}

View File

@ -27,6 +27,7 @@ public abstract class ElectricPress extends AContainer implements RecipeDisplayI
addRecipe(3, new ItemStack(Material.DRIED_KELP, 9), new ItemStack(Material.DRIED_KELP_BLOCK));
addRecipe(3, new ItemStack(Material.BONE_MEAL, 9), new ItemStack(Material.BONE_BLOCK));
addRecipe(3, new ItemStack(Material.CLAY_BALL, 4), new ItemStack(Material.CLAY));
addRecipe(6, SlimefunItems.COPPER_INGOT, new CustomItem(SlimefunItems.COPPER_WIRE, 3));
addRecipe(16, new CustomItem(SlimefunItems.STEEL_INGOT, 8), SlimefunItems.STEEL_PLATE);