xenondevs / Nova

Nova is a server-side modding framework for Paper servers that aims to streamline adding custom content like items, blocks, guis, and more, without client-side modifications, using resource pack tricks.
Other
371 stars 38 forks source link

Only one enchantment possible per item in 0.17 alpha 6 #418

Closed Katalijst closed 2 months ago

Katalijst commented 2 months ago

Agreements

Check for plugin incompatibilites

There are no other plugins running on my server.

Plugin Version, Server Software, Server Version

Nova-0.17-alpha.6 ; paper-1.21.1-13

Nova Addons and Versions

My WIP addon

Expected behavior

I shoud be able to apply multiple enchant to my items

Observed/Actual behavior

I am not able to apply multiple enchant to my items

Steps to reproduce

    val ENCHANTABLE_SHOVEL = item("enchantable_shovel") {
        behaviors(Tool, Damageable, Enchantable, Extinguishing, Flattening)
        maxStackSize(1)
    }
# Enchantable Options
enchantment_value: 10
supported_enchantments:
  - minecraft:fortune
  - minecraft:silk_touch
  - minecraft:efficiency
  - minecraft:unbreaking
  - minecraft:mending
  - minecraft:vanishing_curse

Then try to add enchant to this item using /enchant or with anvil and book

Server log

2024-08-16-24.log

Errors

No response

Additional context

No response