mirror of
https://github.com/5vl/ItemAdder.git
synced 2025-05-24 09:06:58 +00:00
fixes
This commit is contained in:
parent
b8a12bef29
commit
31d0e5d305
@ -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>")
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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("")
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user