missed crash patch, fixed compile error, misc

visual studio applied formatting to the cmake file, something about different line endings
This commit is contained in:
DrPerkyLegit committed 2026-10-22 14:25:18 -04:00
1 parent ff562d1644
commit ef1845a987
3 files changed
+29 -24

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ bool PlayerList::placeNewPlayer(Connection *connection, shared_ptr<ServerPlayer>
playerConnection->send(std::make_shared<SetTimePacket>(level->getGameTime(), level->getDayTime(), level->getGameRules()->getBoolean(GameRules::RULE_DAYLIGHT)));
auto activeEffects = player->getActiveEffects();
for(MobEffectInstance *effect : activeEffects)
for(MobEffectInstance *effect : *activeEffects)
{
playerConnection->send(std::make_shared<UpdateMobEffectPacket>(player->entityId, effect));
}