Skip to content

Commit

Permalink
add ItemType.SELECT
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 3, 2022
1 parent eb39e34 commit f45b958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package io.github.inggameteam.item.impl
import io.github.inggameteam.item.api.ItemComponentGetter

enum class ItemType {
VOLUME, TOGGLE, LIMITED;
VOLUME, TOGGLE, LIMITED, SELECT;
}
fun ItemComponentGetter.toItemType(name: String) = ItemType.valueOf(itemComp.string(name, plugin.defaultLanguage))

0 comments on commit f45b958

Please sign in to comment.