mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +02:00
monetary cost require dialog rename
This commit is contained in:
parent
fb27ad2e55
commit
171a8cad6d
9 changed files with 57 additions and 29 deletions
|
|
@ -6,6 +6,8 @@ import org.bukkit.inventory.InventoryView
|
|||
object AnvilTitleUtil {
|
||||
|
||||
fun rename(view: InventoryView, name: String) {
|
||||
if(view.title == name) return
|
||||
|
||||
view.title = name
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue