aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ServerPlayerGameMode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/ServerPlayerGameMode.cpp')
-rw-r--r--Minecraft.Client/ServerPlayerGameMode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/ServerPlayerGameMode.cpp b/Minecraft.Client/ServerPlayerGameMode.cpp
index 753dc73f..3bd69310 100644
--- a/Minecraft.Client/ServerPlayerGameMode.cpp
+++ b/Minecraft.Client/ServerPlayerGameMode.cpp
@@ -247,7 +247,7 @@ bool ServerPlayerGameMode::destroyBlock(int x, int y, int z)
if( isCreative() )
{
clientToUpdateRenderer = true;
- if( std::dynamic_pointer_cast<ServerPlayer>(player)->connection->isLocal() )
+ if( 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);