mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Fix EcoEnchant enchantment disappearing on rename.
This commit is contained in:
parent
97f175462d
commit
0da9d48ee9
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ class AnvilEventListener(private val packetManager: PacketManager) : Listener {
|
||||||
event.result = null
|
event.result = null
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// We don't manually set item here as vanilla do it (renaming)
|
|
||||||
//event.result = null
|
event.result = resultItem
|
||||||
|
|
||||||
anvilCost += calculatePenalty(first, null, resultItem)
|
anvilCost += calculatePenalty(first, null, resultItem)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue