summaryrefslogtreecommitdiffstats
path: root/src/Entities/ThrownEnderPearlEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/ThrownEnderPearlEntity.h')
-rw-r--r--src/Entities/ThrownEnderPearlEntity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/ThrownEnderPearlEntity.h b/src/Entities/ThrownEnderPearlEntity.h
index 03d54e911..ee618f900 100644
--- a/src/Entities/ThrownEnderPearlEntity.h
+++ b/src/Entities/ThrownEnderPearlEntity.h
@@ -33,12 +33,12 @@ public:
protected:
// cProjectileEntity overrides:
- virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
- virtual void OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
+ virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
+ virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
/** Teleports the creator where the ender pearl lands */
- void TeleportCreator(const Vector3d & a_HitPos);
+ void TeleportCreator(Vector3d a_HitPos);
private: