feat: multiplayer feat/less hardcoded lists (#89)

* CustomPayloadPacket Changes

commented all code for old equip packets
cleaned up custom payload key creation
added 2 new payload packet definitions for upcoming changes

* server sided recipe list

* code cleanup for recipes

* add dtor for recipe classes to fix memory leak

* forgot this part to the dtor commit

* dtor changes tested and fixed

* server side creative menu list
This commit is contained in:
DrPerkyLegit
2026-05-22 18:39:27 +03:00
committed by GitHub
parent 9f37450178
commit b67cbb85f3
19 changed files with 484 additions and 170 deletions
+5
View File
@@ -220,6 +220,11 @@ void ItemInstance::setAuxValue(int value)
}
}
void ItemInstance::setRawAuxValue(int value)
{
auxValue = value;
}
int ItemInstance::getMaxDamage()
{
return Item::items[id]->getMaxDamage();