formatting
This commit is contained in:
parent
5bbf15458c
commit
c9dd390232
2 changed files with 4 additions and 11 deletions
|
@ -5,12 +5,9 @@ import com.mojang.authlib.properties.Property;
|
|||
import com.mojang.datafixers.util.Pair;
|
||||
import me.night.nullvalkyrie.Main;
|
||||
import me.night.nullvalkyrie.database.NPCDataManager;
|
||||
import me.night.nullvalkyrie.util.Skin;
|
||||
import me.night.nullvalkyrie.util.Util;
|
||||
import me.night.nullvalkyrie.util.*;
|
||||
import net.minecraft.network.protocol.game.*;
|
||||
import net.minecraft.network.syncher.DataWatcher;
|
||||
import net.minecraft.network.syncher.DataWatcherObject;
|
||||
import net.minecraft.network.syncher.DataWatcherRegistry;
|
||||
import net.minecraft.network.syncher.*;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.level.EntityPlayer;
|
||||
import net.minecraft.server.level.WorldServer;
|
||||
|
|
|
@ -10,10 +10,7 @@ import org.bukkit.NamespacedKey;
|
|||
import org.bukkit.attribute.Attribute;
|
||||
import org.bukkit.attribute.AttributeModifier;
|
||||
import org.bukkit.enchantments.Enchantment;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.ShapedRecipe;
|
||||
import org.bukkit.inventory.*;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.persistence.PersistentDataContainer;
|
||||
import org.bukkit.persistence.PersistentDataType;
|
||||
|
@ -49,8 +46,7 @@ public class CustomItemManager {
|
|||
itemMeta.setDisplayName(Rarity.getRarity((String) weapon.get("Rarity")).getColor() + weapon.get("Name"));
|
||||
itemMeta.setUnbreakable(true);
|
||||
|
||||
ArrayList<String> loreList = new ArrayList<>();
|
||||
loreList.addAll(propertiesList);
|
||||
ArrayList<String> loreList = new ArrayList<>(propertiesList);
|
||||
loreList.add("");
|
||||
ArrayList<String> enchantmentList = new ArrayList<>();
|
||||
for (Enchantment enchantment : item.getEnchantments().keySet()) {
|
||||
|
|
Loading…
Reference in a new issue