mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Fix not using the modified string.
This commit is contained in:
parent
b6853a6889
commit
90344e635a
2 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ class AnvilEventListener(private val packetManager: PacketManager) : Listener {
|
|||
}
|
||||
|
||||
if (!displayName.contentEquals(inventoryName)) {
|
||||
it.setDisplayName(inventory.renameText)
|
||||
it.setDisplayName(inventoryName)
|
||||
resultItem.itemMeta = it
|
||||
|
||||
return ConfigOptions.itemRenameCost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue