diff options
Diffstat (limited to 'Minecraft.World/OwnerHurtByTargetGoal.cpp')
| -rw-r--r-- | Minecraft.World/OwnerHurtByTargetGoal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/OwnerHurtByTargetGoal.cpp b/Minecraft.World/OwnerHurtByTargetGoal.cpp index e576f575..521d859d 100644 --- a/Minecraft.World/OwnerHurtByTargetGoal.cpp +++ b/Minecraft.World/OwnerHurtByTargetGoal.cpp @@ -12,7 +12,7 @@ OwnerHurtByTargetGoal::OwnerHurtByTargetGoal(TamableAnimal *tameAnimal) : Target bool OwnerHurtByTargetGoal::canUse() { if (!tameAnimal->isTame()) return false; - shared_ptr<Mob> owner = tameAnimal->getOwner(); + std::shared_ptr<Mob> owner = tameAnimal->getOwner(); if (owner == NULL) return false; ownerLastHurtBy = weak_ptr<Mob>(owner->getLastHurtByMob()); return canAttack(ownerLastHurtBy.lock(), false); |
