diff options
Diffstat (limited to 'Minecraft.World/OwnerHurtTargetGoal.h')
| -rw-r--r-- | Minecraft.World/OwnerHurtTargetGoal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Minecraft.World/OwnerHurtTargetGoal.h b/Minecraft.World/OwnerHurtTargetGoal.h index 71079645..1eba5957 100644 --- a/Minecraft.World/OwnerHurtTargetGoal.h +++ b/Minecraft.World/OwnerHurtTargetGoal.h @@ -8,7 +8,8 @@ class OwnerHurtTargetGoal : public TargetGoal { private: TamableAnimal *tameAnimal; // Owner of this goal - weak_ptr<Mob> ownerLastHurt; + weak_ptr<LivingEntity> ownerLastHurt; + int timestamp; public: OwnerHurtTargetGoal(TamableAnimal *tameAnimal); |
