mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-04 19:54:19 +00:00
refactor: unglob std::shared_ptr
This commit is contained in:
@@ -78,8 +78,8 @@ bool TileDestructionPacket::canBeInvalidated()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TileDestructionPacket::isInvalidatedBy(shared_ptr<Packet> packet)
|
||||
bool TileDestructionPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
|
||||
{
|
||||
shared_ptr<TileDestructionPacket> target = dynamic_pointer_cast<TileDestructionPacket>(packet);
|
||||
std::shared_ptr<TileDestructionPacket> target = dynamic_pointer_cast<TileDestructionPacket>(packet);
|
||||
return target->id == id;
|
||||
}
|
||||
Reference in New Issue
Block a user