aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ExperienceOrb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ExperienceOrb.cpp')
-rw-r--r--Minecraft.World/ExperienceOrb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/ExperienceOrb.cpp b/Minecraft.World/ExperienceOrb.cpp
index 76f2a9ae..a8ae4da4 100644
--- a/Minecraft.World/ExperienceOrb.cpp
+++ b/Minecraft.World/ExperienceOrb.cpp
@@ -187,7 +187,7 @@ void ExperienceOrb::readAdditionalSaveData(CompoundTag *tag)
value = tag->getShort(L"Value");
}
-void ExperienceOrb::playerTouch(shared_ptr<Player> player)
+void ExperienceOrb::playerTouch(std::shared_ptr<Player> player)
{
if (level->isClientSide) return;
@@ -258,7 +258,7 @@ int ExperienceOrb::getIcon()
* Fetches the biggest possible experience orb value based on a maximum
* value. The current algorithm is next prime which is at least twice more
* than the previous one.
-*
+*
* @param maxValue
* @return
*/