diff options
author | Nate <nate@natedpalm.com> | 2021-04-08 12:17:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 12:17:24 +0200 |
commit | b2eddbed84d55978337d1b52f6a9a2eabb658017 (patch) | |
tree | a5d82669cf41867c5eec12542ed71f74c4056374 /src/Entities/Player.h | |
parent | Change to Cuboid calculation for splash distance (#5176) (diff) | |
download | cuberite-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.h | 1 |
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(); } |