Book Binder reverts the enchantment level to maximal on the config
variananora opened this issue · 3 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
Book Binder reverts the enchantment level to maximal on the config if your enchanted book exceeds it.
https://discord.com/channels/565557184348422174/565569972697301020/886602140280324136
📑 Reproduction Steps
- Set
bypass-vanilla-max-level: false
for vanilla cap orcustom-max-level: 10
andhas-custom-max-level: true
- Use book binder
- Put an enchantment that exceeds vanilla limit or maximum level cap on config
- Wait it process
- It will revert the enchantment to maximum configured level (vanilla/config).
💡 Expected Behavior
Book binder should not take the items and revert the enchantment to maximum configured level (vanilla/config). It should just not work.
📷 Screenshots / Videos
📜 Server Log
No response
📂 /error-reports/
folder
No response
💻 Server Software
Paper
🎮 Minecraft Version
1.17.x
⭐ Slimefun version
> sf versions
[21:07:57 INFO]: This Server uses the following setup of Slimefun:
Paper git-Paper-259 (MC: 1.17.1)
Slimefun DEV - 968 (git 79c6c139)
Metrics-Module #28
Java 16
No Addons installed
> pl
[21:07:57 INFO]: Plugins (3): Slimefun, Vault, VoidGen
> ver
[21:07:58 INFO]: Checking version, please wait...
[21:08:00 INFO]: This server is running Paper version git-Paper-259 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 810d200)
You are running the latest version
Previous version: git-Paper-250 (MC: 1.17.1)
🧭 Other plugins
No response
I just tested it and it is still an issue. I set bypass vanilla to false, put in an unbreaking X and an unbreaking 3 and got an unbreaking 3 out.