refactor: unglob std::shared_ptr

This commit is contained in:
Tropical
2026-03-06 11:20:45 -06:00
parent 0dd1654dec
commit 67ceccf2d4
1065 changed files with 5754 additions and 5749 deletions

View File

@@ -53,8 +53,8 @@ bool UpdateMobEffectPacket::canBeInvalidated()
return true;
}
bool UpdateMobEffectPacket::isInvalidatedBy(shared_ptr<Packet> packet)
bool UpdateMobEffectPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
{
shared_ptr<UpdateMobEffectPacket> target = dynamic_pointer_cast<UpdateMobEffectPacket>(packet);
std::shared_ptr<UpdateMobEffectPacket> target = dynamic_pointer_cast<UpdateMobEffectPacket>(packet);
return target->entityId == entityId && target->effectId == effectId;
}