From 6dfdd9032892f933a2cd23470ccd03149d114811 Mon Sep 17 00:00:00 2001 From: VivyaCC <21315274+enginelesscc@users.noreply.github.com> Date: Fri, 6 Mar 2026 23:13:30 +0100 Subject: win cpp23 compat: Minecraft.World --- Minecraft.World/Villager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Minecraft.World/Villager.cpp') diff --git a/Minecraft.World/Villager.cpp b/Minecraft.World/Villager.cpp index f2901291..19303b0d 100644 --- a/Minecraft.World/Villager.cpp +++ b/Minecraft.World/Villager.cpp @@ -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) { -- cgit v1.2.3