mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-04 15:09:44 +01:00
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:
1 parent
ff562d1644
commit
ef1845a987
3 files changed
+29
-24
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user