What happened?
When I use customcrafting-3.16.3.1 , MMOItems-6.7.2 and Purpur 1.18.1 and create some recipes that contains MMO item, I noticed that the recipe is stored in the json like this:
{
"@type" : "customcrafting:crafting_shaped",
"group" : "",
"hidden" : false,
"vanillaBook" : false,
"priority" : "NORMAL",
"checkNBT" : true,
"conditions" : {
"values" : [ ]
},
"symmetry" : {
"horizontal" : false,
"vertical" : false,
"rotate" : false
},
"shape" : [ "D F", "G I" ],
"ingredients" : {
"G" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2865,
"type" : "LEATHER"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
},
"I" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2865,
"type" : "LEATHER"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
},
"D" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2865,
"type" : "LEATHER"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
},
"F" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2865,
"type" : "LEATHER"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
}
},
"settings" : {
"allowVanillaRecipe" : true
},
"result" : {
"items" : [ {
"custom_amount" : 1,
"mmoitems" : {
"type" : "ARMOR",
"name" : "็ฎ้ฉ้ดๅญ"
}
} ],
"tags" : [ ],
"extensions" : [ ]
}
}
But I need to update to 1.18.2 and when I update plugin to customcrafting-spigot-3.16.3.3 and MMOItems-6.7.3, I find that the recipe is stored like this:
{
"@type" : "customcrafting:crafting_shaped",
"group" : "",
"hidden" : false,
"vanillaBook" : true,
"priority" : "NORMAL",
"checkNBT" : false,
"conditions" : {
"values" : [ ]
},
"symmetry" : {
"horizontal" : true,
"vertical" : false,
"rotate" : false
},
"shape" : [ "C", "F", "I" ],
"ingredients" : {
"I" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2975,
"type" : "STICK"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
},
"C" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2975,
"type" : "NETHERITE_INGOT"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
},
"F" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2975,
"type" : "NETHERITE_INGOT"
}
} ],
"tags" : [ ],
"replaceWithRemains" : true,
"allowEmpty" : false
}
},
"checkAllNBT" : false,
"settings" : { },
"result" : {
"items" : [ {
"custom_amount" : 1,
"item" : {
"==" : "org.bukkit.inventory.ItemStack",
"v" : 2975,
"type" : "STONE_SWORD",
"meta" : {
"==" : "ItemMeta",
"meta-type" : "UNSPECIFIC",
"display-name" : "{\"italic\":false,\"color\":\"white\",\"text\":\"ๅ้ๅ้ฆ\"}",
"lore" : [ "{\"italic\":false,\"text\":\"\"}", "{\"italic\":false,\"extra\":[{\"color\":\"gray\",\"text\":\"็ฉๅ็ฑปๅ: \"},{\"color\":\"white\",\"text\":\"ๅ้ฆ\"}],\"text\":\"\"}", "{\"italic\":false,\"text\":\"\"}", "{\"italic\":false,\"extra\":[{\"color\":\"gray\",\"text\":\"โธ ๆปๅปไผคๅฎณ: \"},{\"color\":\"white\",\"text\":\"11\"}],\"text\":\"\"}", "{\"italic\":false,\"extra\":[{\"color\":\"gray\",\"text\":\"โธ ๆปๅป้ๅบฆ: \"},{\"color\":\"white\",\"text\":\"2\"}],\"text\":\"\"}", "{\"italic\":false,\"extra\":[{\"color\":\"gray\",\"text\":\"โ ๆดๅปๆฆ็: \"},{\"color\":\"white\",\"text\":\"+20.4%\"}],\"text\":\"\"}", "{\"italic\":false,\"text\":\"\"}", "{\"italic\":false,\"color\":\"gray\",\"text\":\"่ไน
: 118 / 118\"}" ],
"custom-model-data" : 10017,
"attribute-modifiers" : {
"GENERIC_ATTACK_SPEED" : [ {
"==" : "org.bukkit.attribute.AttributeModifier",
"amount" : 0.0,
"name" : "mmoitemsDecoy",
"uuid" : "87851e28-af12-43f6-898e-c62bde6bd0ec",
"operation" : 0
} ]
},
"ItemFlags" : [ "HIDE_ATTRIBUTES" ],
"internal" : "H4sIAAAAAAAA/+NiYGBjEPP19fcMcfUNjncMCXF09o53cfR1dHd1UGMAAzYGUXQFwQGuri4ODL7v7u+6Z87BIACXB5Hxni4MPE8ndLxsn/i0Z+rLZdM4GHjhCvwcfV0Z+NTSUOUF4fKufs4ejn4hwQxM0bHMDCJw8SDXMM9gT38/kOFAwMwgDpfydYyIdwkNcnTy9PEMiQRKljEzSMFlnUODQ/x94339XVx9gB4LcWRgUFdkRFLg4hns6OTjCrQhwNEzyNPPnZGDQQjVQyGRAa4MbC6O7u6uQRwMfB7BIUGRCJc6VCsFlySWKFkpwYSUdJT83YNL8osqlayiq5UwPBd/eGNxSRFQQ3SsUm1sLQeKP0GugNoICSRGBnkMx0LjIcAxONgzzJWRDUmJc5BniKezo0880JWe3q7xICudXR1M0p9UM3z7wYEUmS6RwNjwdI738Q9yZeiPVgI6W838eefKp5Mbn2/c/XRet5UCMKLAUQSUAss+mrdD4dmU3U/bdz/Zs+Tpus0gFYaGaFIvG+Y/3bUMJGUEkZm2QOHZrC1AmWfLmp73tYNktI0M9ExUYca+aJjwZGerlYKhoYWCPohUimUAADON4l2bAgAA"
}
}
} ],
"tags" : [ ],
"extensions" : [ ]
}
}
It seems that MMO items can not be stored correctly. And the recipe item can not update to the changes in MMOItems anymore.
How can the bug be reproduced?
Update the version and find the problem.
Expected Behaviour?
Item from MMOItems can update in Customcrafting correctly.
Plugin version
wolfyutils-spigot-4.16.0.0 customcrafting-spigot-3.16.3.3
Server software
Purpur 1.18.2
Relevant log output
No response
Submit issue