diff options
author | changyong guo <guo1487@163.com> | 2018-06-24 11:24:10 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2018-06-24 11:24:10 +0200 |
commit | 2d3013d1d35a2bcba63cffd9012898defff26f93 (patch) | |
tree | e344931e67b4094671e01a3bf7dca2d600e32d3e /src/Entities/Player.h | |
parent | Flush stdout after resetting console colour. (#4240) (diff) | |
download | cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.gz cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.bz2 cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.lz cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.xz cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.tar.zst cuberite-2d3013d1d35a2bcba63cffd9012898defff26f93.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 32a4b0348..f04f90a2b 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -71,6 +71,9 @@ public: /** Returns the currently equipped boots; empty item if none */ virtual cItem GetEquippedBoots(void) const override { return m_Inventory.GetEquippedBoots(); } + /** Returns the currently offhand equipped item; empty item if none */ + virtual cItem GetOffHandEquipedItem(void) const override { return m_Inventory.GetShieldSlot(); } + virtual void ApplyArmorDamage(int DamageBlocked) override; // tolua_begin |