Merge with upstream

This commit is contained in:
Soggy_Pancake 2026-03-14 14:51:06 -07:00
commit ad1a4ecc68
2031 changed files with 40476 additions and 27116 deletions

View file

@ -47,7 +47,7 @@ void PotatoTile::spawnResources(Level *level, int x, int y, int z, int data, flo
{
if (level->random->nextInt(50) == 0)
{
popResource(level, x, y, z, shared_ptr<ItemInstance>(new ItemInstance(Item::potatoPoisonous)));
popResource(level, x, y, z, std::make_shared<ItemInstance>(Item::potatoPoisonous));
}
}
}