win cpp23 compat: Minecraft.World

This commit is contained in:
VivyaCC
2026-03-06 23:13:30 +01:00
committed by void_17
parent 7c2869c5b9
commit 6dfdd90328
17 changed files with 39 additions and 38 deletions

View File

@@ -513,7 +513,7 @@ void Villager::addOffers(int addCount)
}
// shuffle the list to make it more interesting
std::random_shuffle(newOffers->begin(), newOffers->end());
std::shuffle(newOffers->begin(), newOffers->end(), std::mt19937{std::random_device{}()});
if (offers == NULL)
{