mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
Fixed issue about level in fusing.
when fusing item with enchant above level limit there was some strange uncapped cases. Also fix a typo.
This commit is contained in:
parent
32b535efda
commit
adaba63d5e
2 changed files with 18 additions and 19 deletions
|
|
@ -102,7 +102,7 @@ class EnchantConflictManager {
|
|||
|
||||
private fun getEnchantByName(enchantName: String): Enchantment? {
|
||||
|
||||
// Teporary solution for 1.20.5
|
||||
// Temporary solution for 1.20.5
|
||||
when(enchantName){
|
||||
"sweeping", "sweeping_edge" -> {
|
||||
return SWEEPING_EDGE_ENCHANT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue