aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/KillCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/KillCommand.cpp')
-rw-r--r--Minecraft.World/KillCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/KillCommand.cpp b/Minecraft.World/KillCommand.cpp
index 30a7880e..3a82378b 100644
--- a/Minecraft.World/KillCommand.cpp
+++ b/Minecraft.World/KillCommand.cpp
@@ -9,9 +9,9 @@ EGameCommand KillCommand::getId()
return eGameCommand_Kill;
}
-void KillCommand::execute(shared_ptr<CommandSender> source, byteArray commandData)
+void KillCommand::execute(std::shared_ptr<CommandSender> source, byteArray commandData)
{
- shared_ptr<Player> player = dynamic_pointer_cast<Player>(source);
+ std::shared_ptr<Player> player = dynamic_pointer_cast<Player>(source);
player->hurt(DamageSource::outOfWorld, 1000);