From 31d0e5d305e5c5e891f5d0b76ffc3ff760de88c6 Mon Sep 17 00:00:00 2001 From: 5vl Date: Sat, 11 Jun 2022 02:30:26 +0200 Subject: [PATCH] fixes --- src/main/java/me/fivevl/itemadder/Main.kt | 2 +- src/main/java/me/fivevl/itemadder/Type.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/me/fivevl/itemadder/Main.kt b/src/main/java/me/fivevl/itemadder/Main.kt index 7139c22..c7c01f6 100644 --- a/src/main/java/me/fivevl/itemadder/Main.kt +++ b/src/main/java/me/fivevl/itemadder/Main.kt @@ -5,6 +5,6 @@ import org.bukkit.plugin.java.JavaPlugin class Main : JavaPlugin() { override fun onEnable() { - Item("TEST_ITEM", Utils.color("Test Item"), Rarity.EPIC, Material.STONE_SWORD, Type.SWORD, Utils.loreBuilder("Test Lore")) + Item("TEST_ITEM", Utils.color("Test Item"), Rarity.EPIC, Material.STONE_SWORD, Type.WEAPON, "The most basic testing\nsword, by 5vl") } } \ No newline at end of file diff --git a/src/main/java/me/fivevl/itemadder/Type.kt b/src/main/java/me/fivevl/itemadder/Type.kt index 7acc6bb..11ac07d 100644 --- a/src/main/java/me/fivevl/itemadder/Type.kt +++ b/src/main/java/me/fivevl/itemadder/Type.kt @@ -1,8 +1,8 @@ package me.fivevl.itemadder enum class Type(type: String) { - SWORD("SWORD"), + WEAPON("WEAPON"), PICKAXE("PICKAXE"), - AXE("AXE"), - ITEM("ITEM") + ITEM("ITEM"), + OTHER("") } \ No newline at end of file