This commit is contained in:
5vl 2022-06-11 02:30:26 +02:00
parent b8a12bef29
commit 31d0e5d305
No known key found for this signature in database
GPG Key ID: DA8938F22548E4D5
2 changed files with 4 additions and 4 deletions

View File

@ -5,6 +5,6 @@ import org.bukkit.plugin.java.JavaPlugin
class Main : JavaPlugin() { class Main : JavaPlugin() {
override fun onEnable() { override fun onEnable() {
Item("TEST_ITEM", Utils.color("<blue>Test Item"), Rarity.EPIC, Material.STONE_SWORD, Type.SWORD, Utils.loreBuilder("<blue>Test Lore")) Item("TEST_ITEM", Utils.color("<blue>Test Item"), Rarity.EPIC, Material.STONE_SWORD, Type.WEAPON, "<red>The most basic testing</red>\n<blue>sword, by 5vl</blue>")
} }
} }

View File

@ -1,8 +1,8 @@
package me.fivevl.itemadder package me.fivevl.itemadder
enum class Type(type: String) { enum class Type(type: String) {
SWORD("SWORD"), WEAPON("WEAPON"),
PICKAXE("PICKAXE"), PICKAXE("PICKAXE"),
AXE("AXE"), ITEM("ITEM"),
ITEM("ITEM") OTHER("")
} }