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