Bug with the lore in the item generated by item generator
Open
Bug with the lore in the item generated by item generator
Created by: wwyjason
I used the samples in mmoitems (i.e LONG_SWORD) and wanted to create a sword with sample prefix 'sharp' and sample suffix 'fiery' whenever I use the command /mi generate -id:LONG_SWORD. However, something weird happened when I used the command after the first time. The lore of suffix repeated again and again.
The changes I made are this one and changing the modifier capacity into 2 for default tier. This lore problem disappeared when I reload the plugin but happened again once I use the command after the first time.
Created by: Indyuce
Most likely because MMOItems directly edits the cached item when generating an instance of it, therefore items generated after the first one "keep" this modification although it should just cancel. When reloading the plugin, that cached mmoitem gets refreshed and read again from the config and loses the parasitic modifications.
Also please do paste your configs (instead of taking a screenshot) otherwise we have to write everything again in order to reproduce the issue, which can be time consuming
Created by: wwyjason
Here are the configs.
config for the modifiers: https://pastebin.com/z5DSZZSi config for the templates: https://pastebin.com/t73mHDYT
I like to play various games. And recently I started creating small logos for jeep players. Stock images that I take from the Depositohotos website help me with this. Here you can find images on various topics. Try it, maybe it will suit you.