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
|
|
@ -13,7 +13,7 @@ plugins {
|
|||
}
|
||||
|
||||
group = "xyz.alexcrea"
|
||||
version = "1.5.4-beta-1"
|
||||
version = "1.5.4-beta.1"
|
||||
|
||||
java {
|
||||
disableAutoTargetJvm()
|
||||
|
|
|
|||
|
|
@ -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