mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixed two small issues and did some cleanup
This commit is contained in:
parent
e0b240f570
commit
95adc66536
@ -82,6 +82,7 @@ https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#4
|
|||||||
* Fixed #1295
|
* Fixed #1295
|
||||||
* Fixed MultiBlocks not accepting different fence types
|
* Fixed MultiBlocks not accepting different fence types
|
||||||
* Fixed #1337
|
* Fixed #1337
|
||||||
|
* Fixed Applie Pie ID mismatch
|
||||||
|
|
||||||
## Release Candidate 3 (21 Nov 2019)
|
## Release Candidate 3 (21 Nov 2019)
|
||||||
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#3
|
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#3
|
||||||
|
@ -23,7 +23,7 @@ public final class ChatUtils {
|
|||||||
public static String humanize(String string) {
|
public static String humanize(String string) {
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
|
|
||||||
String[] segments = string.split("_");
|
String[] segments = string.toLowerCase().split("_");
|
||||||
|
|
||||||
builder.append(Character.toUpperCase(segments[0].charAt(0)) + segments[0].substring(1));
|
builder.append(Character.toUpperCase(segments[0].charAt(0)) + segments[0].substring(1));
|
||||||
|
|
||||||
|
@ -166,6 +166,7 @@ public final class SlimefunItems {
|
|||||||
/* Easter */
|
/* Easter */
|
||||||
public static final ItemStack EASTER_EGG = new SlimefunItemStack("EASTER_EGG", Material.EGG, "&rEaster Egg", "&bSurprise! Surprise!");
|
public static final ItemStack EASTER_EGG = new SlimefunItemStack("EASTER_EGG", Material.EGG, "&rEaster Egg", "&bSurprise! Surprise!");
|
||||||
public static final ItemStack EASTER_CARROT_PIE = new SlimefunItemStack("CARROT_PIE", Material.PUMPKIN_PIE, "&6Carrot Pie");
|
public static final ItemStack EASTER_CARROT_PIE = new SlimefunItemStack("CARROT_PIE", Material.PUMPKIN_PIE, "&6Carrot Pie");
|
||||||
|
public static final ItemStack EASTER_APPLE_PIE = new SlimefunItemStack("EASTER_APPLE_PIE", Material.PUMPKIN_PIE, "&rApple Pie");
|
||||||
|
|
||||||
/* Weapons */
|
/* Weapons */
|
||||||
public static final ItemStack GRANDMAS_WALKING_STICK = new SlimefunItemStack("GRANDMAS_WALKING_STICK", Material.STICK, "&7Grandmas Walking Stick");
|
public static final ItemStack GRANDMAS_WALKING_STICK = new SlimefunItemStack("GRANDMAS_WALKING_STICK", Material.STICK, "&7Grandmas Walking Stick");
|
||||||
|
@ -1575,7 +1575,7 @@ public final class SlimefunSetup {
|
|||||||
new ItemStack[] {new ItemStack(Material.SUGAR), new ItemStack(Material.CARROT), new ItemStack(Material.EGG), null, null, null, null, null, null}, new CustomItem(SlimefunItems.EASTER_CARROT_PIE, 2))
|
new ItemStack[] {new ItemStack(Material.SUGAR), new ItemStack(Material.CARROT), new ItemStack(Material.EGG), null, null, null, null, null, null}, new CustomItem(SlimefunItems.EASTER_CARROT_PIE, 2))
|
||||||
.register(true);
|
.register(true);
|
||||||
|
|
||||||
new SlimefunItem(Categories.EASTER, (SlimefunItemStack) SlimefunItems.CHRISTMAS_APPLE_PIE, RecipeType.ENHANCED_CRAFTING_TABLE,
|
new SlimefunItem(Categories.EASTER, (SlimefunItemStack) SlimefunItems.EASTER_APPLE_PIE, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||||
new ItemStack[] {new ItemStack(Material.SUGAR), new ItemStack(Material.APPLE), new ItemStack(Material.EGG), null, null, null, null, null, null}, new CustomItem(SlimefunItems.CHRISTMAS_APPLE_PIE, 2))
|
new ItemStack[] {new ItemStack(Material.SUGAR), new ItemStack(Material.APPLE), new ItemStack(Material.EGG), null, null, null, null, null, null}, new CustomItem(SlimefunItems.CHRISTMAS_APPLE_PIE, 2))
|
||||||
.register(true);
|
.register(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user