mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 04:03:53 +00:00
dynamic_pointer_cast -> std::dynamic_pointer_cast
This commit is contained in:
parent
7bee4770df
commit
07ad68bc15
207 changed files with 623 additions and 623 deletions
|
|
@ -108,6 +108,6 @@ bool SetEntityMotionPacket::canBeInvalidated()
|
|||
|
||||
bool SetEntityMotionPacket::isInvalidatedBy(std::shared_ptr<Packet> packet)
|
||||
{
|
||||
std::shared_ptr<SetEntityMotionPacket> target = dynamic_pointer_cast<SetEntityMotionPacket>(packet);
|
||||
std::shared_ptr<SetEntityMotionPacket> target = std::dynamic_pointer_cast<SetEntityMotionPacket>(packet);
|
||||
return target->id == id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue