aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/HurtByTargetGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/HurtByTargetGoal.h')
-rw-r--r--Minecraft.World/HurtByTargetGoal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Minecraft.World/HurtByTargetGoal.h b/Minecraft.World/HurtByTargetGoal.h
index 4c6ee5fe..4f7235e9 100644
--- a/Minecraft.World/HurtByTargetGoal.h
+++ b/Minecraft.World/HurtByTargetGoal.h
@@ -6,12 +6,11 @@ class HurtByTargetGoal : public TargetGoal
{
private:
bool alertSameType;
- shared_ptr<Mob> oldHurtByMob;
+ int timestamp;
public:
- HurtByTargetGoal(Mob *mob, bool alertSameType);
+ HurtByTargetGoal(PathfinderMob *mob, bool alertSameType);
bool canUse();
void start();
- void tick();
};