summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorNate <nate@natedpalm.com>2021-04-08 12:17:24 +0200
committerGitHub <noreply@github.com>2021-04-08 12:17:24 +0200
commitb2eddbed84d55978337d1b52f6a9a2eabb658017 (patch)
treea5d82669cf41867c5eec12542ed71f74c4056374 /src/Entities/Player.h
parentChange to Cuboid calculation for splash distance (#5176) (diff)
downloadcuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar.gz
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar.bz2
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar.lz
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar.xz
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.tar.zst
cuberite-b2eddbed84d55978337d1b52f6a9a2eabb658017.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 5a17ca783..65dbfaed7 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -604,6 +604,7 @@ public:
// cEntity overrides:
virtual void AttachTo(cEntity * a_AttachTo) override;
virtual void Detach(void) override;
+ virtual void Detach(bool a_IsTeleporting);
virtual cItem GetEquippedWeapon(void) const override { return m_Inventory.GetEquippedItem(); }
virtual cItem GetEquippedHelmet(void) const override { return m_Inventory.GetEquippedHelmet(); }
virtual cItem GetEquippedChestplate(void) const override { return m_Inventory.GetEquippedChestplate(); }