Disenchanter disappears after max level cap
bobhenl opened this issue ยท 8 comments
๐ Description (REQUIRED)
Hi, I want to report that when you put some Slimefun item with a higher enchantment that you set in your items.yml, for ex. I set 5:
use-enchant-level-limit: true
enchant-level-limit: 5
then a disenchanter & item disappear
๐ Steps to reproduce the Issue (REQUIRED)
- Set enchant level limit to 5 and set true in use enchant level limit.
- Put item with higher enchantment than 5 into the disenchanter
- Now item & disenchanter disappear
๐ก Expected behavior (REQUIRED)
It probably should rather say that it's not possible to disenchant this item or something like this.
๐ Server Log
[18:36:58] [Server thread/WARN]: [Slimefun]
[18:36:58] [Server thread/WARN]: [Slimefun] An Error occurred! It has been saved as:
[18:36:58] [Server thread/WARN]: [Slimefun] /plugins/Slimefun/error-reports/2021-04-04-18-36.err
[18:36:58] [Server thread/WARN]: [Slimefun] Please put this file on https://pastebin.com/ and report this to the developer(s).
[18:36:58] [Server thread/WARN]: [Slimefun] Bug Tracker: https://github.com/Slimefun/Slimefun4/issues
[18:36:58] [Server thread/WARN]: [Slimefun]
[18:36:59] [Server thread/INFO]: _Fun0s_ issued server command: /back
[18:37:00] [Craft Scheduler Thread - 3779 - Slimefun/ERROR]: [Slimefun] X: -4,855 Y: 78 Z: -2,310 (AUTO_DISENCHANTER)
[18:37:00] [Craft Scheduler Thread - 3779 - Slimefun/ERROR]: [Slimefun] has thrown 4 error messages in the last 4 Ticks, the Block has been terminated.
[18:37:00] [Craft Scheduler Thread - 3779 - Slimefun/ERROR]: [Slimefun] Check your /plugins/Slimefun/error-reports/ folder for details.
[18:37:00] [Craft Scheduler Thread - 3779 - Slimefun/ERROR]: [Slimefun]
[18:37:00] [Craft Scheduler Thread - 3779 - Slimefun/ERROR]: [Slimefun] An Exception was caught while ticking the Block Tickers Task for Slimefun vDEV - 869 (git 18139bb5)
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_281]
at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_281]
at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.tickChunk(TickerTask.java:144) ~[?:?]
at io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask.run(TickerTask.java:114) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Purpur-1048]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.5.jar:git-Purpur-1048]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Purpur-1048]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_281]
๐ /error-reports/ Folder
https://pastebin.com/7LgBjJSz
https://pastebin.com/yywyLMuh
Two with auto & advanced disenchanters. BTW one is from InfinityExpansion IK.
๐งญ Environment (REQUIRED)
- Server Software: Purpur
- Minecraft Version: 1.16.5
- Slimefun Version: 869
I also tested this with the latest paper and latest purpur couldnt reproduce the error i tried with reinforced helmet. and with the yml settings shown above
Latest purpur 1051
Latest paper 582
Oh I've discovered it's due to missing lang string probably. It happened for me when I had language: cs
Oh I've discovered it's due to missing lang string probably. It happened for me when I had language: cs
Well that is interesting. I'll check it later.
Change title to: Machine will broke it self if you are using corrupted/not complete lang files and not fallback to EN lang files like Walshy said in #2952.
Tested with CS language and remove some portion of the machine like Panda did.