Closed GabBiswajit closed 1 year ago
ItemFactory::getInstance()->get(299, 0, 1); This Code Change To : GlobalItemDataHandlers::getDeserializer()->deserializeStack(GlobalItemDataHandlers::getUpgrader()->upgradeItemTypeDataInt(299, 0, 1)); And This make this crash :
ItemFactory::getInstance()->get(299, 0, 1);
GlobalItemDataHandlers::getDeserializer()->deserializeStack(GlobalItemDataHandlers::getUpgrader()->upgradeItemTypeDataInt(299, 0, 1));
File: pmsrc/src/data/bedrock/item/upgrade/ItemDataUpgrader Line: 90 Type: ArgumentCountError```
@Wertzui123
yeah, it's not adding a null for the compound tag
null
ItemFactory::getInstance()->get(299, 0, 1);
This Code Change To :GlobalItemDataHandlers::getDeserializer()->deserializeStack(GlobalItemDataHandlers::getUpgrader()->upgradeItemTypeDataInt(299, 0, 1));
And This make this crash :