refactor: unglob std::dynamic_pointer_cast

This commit is contained in:
Tropical authored and JuiceyDev committed 2026-03-08 22:44:00 +01:00
1 parent 39a359ca56
commit 66248339e5
204 files changed
+603 -603

No files matched your search

@@ -247,7 +247,7 @@ bool ServerPlayerGameMode::destroyBlock(int x, int y, int z)
if( isCreative() )
{
clientToUpdateRenderer = true;
if( dynamic_pointer_cast<ServerPlayer>(player)->connection->isLocal() )
if( std::dynamic_pointer_cast<ServerPlayer>(player)->connection->isLocal() )
{
// Establish whether we are sharing this chunk between client & server
MultiPlayerLevel *clientLevel = Minecraft::GetInstance()->getLevel(level->dimension->id);