1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00

Fixed lore

This commit is contained in:
TheBusyBiscuit 2020-07-05 13:06:13 +02:00
parent b01254eb9d
commit 6a950fe8d6
3 changed files with 7 additions and 5 deletions

View File

@ -5,6 +5,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.bukkit.ChatColor;
import org.bukkit.Color; import org.bukkit.Color;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment; import org.bukkit.enchantments.Enchantment;
@ -252,11 +253,11 @@ public final class SlimefunItems {
static { static {
hazmatLore.add(""); hazmatLore.add("");
hazmatLore.add("&4Full set effects:"); hazmatLore.add(ChatColor.GOLD + "Full set effects:");
hazmatLore.add("&c- Radioation immunity"); hazmatLore.add(ChatColor.YELLOW + "- Radioation immunity");
if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_15)) { if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_15)) {
hazmatLore.add("&c- Bee Sting protection"); hazmatLore.add(ChatColor.YELLOW + "- Bee Sting protection");
} }
} }

View File

@ -268,7 +268,7 @@ public final class ResearchSetup {
register("magical_zombie_pills", 257, "De-Zombification", 22, SlimefunItems.MAGICAL_ZOMBIE_PILLS); register("magical_zombie_pills", 257, "De-Zombification", 22, SlimefunItems.MAGICAL_ZOMBIE_PILLS);
register("auto_brewer", 258, "Industrial Brewery", 30, SlimefunItems.AUTO_BREWER); register("auto_brewer", 258, "Industrial Brewery", 30, SlimefunItems.AUTO_BREWER);
register("enchantment_rune", 259, "Ancient Enchanting", 24, SlimefunItems.MAGICAL_GLASS, SlimefunItems.ENCHANTMENT_RUNE); register("enchantment_rune", 259, "Ancient Enchanting", 24, SlimefunItems.MAGICAL_GLASS, SlimefunItems.ENCHANTMENT_RUNE);
register("lead_clothing", 260, "Lead Clothing", 30, SlimefunItems.REINFORCED_CLOTH); register("lead_clothing", 260, "Lead Clothing", 14, SlimefunItems.REINFORCED_CLOTH);
} }
private static void register(String key, int id, String name, int defaultCost, ItemStack... items) { private static void register(String key, int id, String name, int defaultCost, ItemStack... items) {

View File

@ -236,3 +236,4 @@ slimefun:
magical_zombie_pills: De-Zombification magical_zombie_pills: De-Zombification
auto_brewer: Industrial Brewery auto_brewer: Industrial Brewery
enchantment_rune: Ancient Enchanting enchantment_rune: Ancient Enchanting
lead_clothing: Lead Clothing