monetary cost require dialog rename

This commit is contained in:
alexcrea 2026-05-28 20:21:40 +02:00
parent fb27ad2e55
commit 171a8cad6d
Signed by: alexcrea
GPG key ID: E346CD16413450E3
9 changed files with 57 additions and 29 deletions

View file

@ -0,0 +1,14 @@
package xyz.alexcrea.cuanvil.util
import org.bukkit.inventory.InventoryView
// TODO yet another cleanup to do on legacy removal branch
object AnvilTitleUtil {
fun rename(view: InventoryView, name: String) {
if(view.title == name) return
view.title = name
}
}