Closed LuluxClient closed 2 years ago
I think you created the item, used /iazip, then set the model_id, used /iazip. Now ItemsAdder loads the model_id from the cache instead of using the specified one.
Please do this test:
plugin\ItemsAdder\storage\items_ids_cache.yml
I think you created the item, used /iazip, then set the model_id, used /iazip. Now ItemsAdder loads the model_id from the cache instead of using the specified one.
Please do this test:
- open the cache file
- delete the line containing your custom item name
plugin\ItemsAdder\storage\items_ids_cache.yml
- run /iazip
- check if the model id is correct if not, it's a bug and i have to investigate more
After doing that it fixed the issue thanks, I'll check this file more often !
No problem! :D
Feel free to leave a good review :D It helps me a lot: https://www.spigotmc.org/resources/73355/
Terms
Discord tag (optional)
Lulux#4614
What happened?
So I'm trying to add custom items to my menus via deluxemenu, the issue is that sometimes the items are overriding default textures and also the model_id isn't saving. I enabled the debug and I found out that it gave random id to items and it wasn't saving the ids I was adding.
config: https://gyazo.com/d5af92031e97d26ed516164e76a84a45 Console output with debug: https://gyazo.com/d407d23bca7ba4eb7443db360d86e5ff
Steps to reproduce the issue
Create a blank item add this to your item namespace: items:
icon_retour: display_name: display-name-icon_retour
resource: material: PAPER model_id: 10001 generate: true textures:
enable the debug on everything and you will see the model_id they chose is different.
Server version
https://gyazo.com/2f973d30e88c974977b4979f93992eb4
ItemsAdder Version
[20:43:43 INFO]: ItemsAdder version 2.4.19b [20:43:43 INFO]: Customize Minecraft without client mods! [20:43:43 INFO]: Website: devs.beer [20:43:43 INFO]: Authors: LoneDev and LoneDev
ProtocolLib Version
[20:43:56 INFO]: ProtocolLib version 4.7.0 [20:43:56 INFO]: Provides read/write access to the Minecraft protocol. [20:43:56 INFO]: Authors: dmulloy2 and comphenix
LoneLibs Version
LightAPI Version (optional)
none
LibsDisguises Version (optional)
nop
FULL server log
https://pastebin.com/VgbdtB8Z
Error (optional)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
none
Screenshots/Videos (you can drag and drop files or paste links)
none