summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-04-26 17:47:25 +0200
committerHowaner <franzi.moos@googlemail.com>2014-04-26 17:47:25 +0200
commitd50f8f6f11f69e7e1e56be92fb2d72a5014a3e34 (patch)
treeb8386b26cd234380d840653119fc3205339b2413 /src/Mobs/Wither.h
parentWithers now use the new invulnerable. (diff)
downloadcuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar.gz
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar.bz2
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar.lz
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar.xz
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.tar.zst
cuberite-d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.zip
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
index 81c9df1b1..fbea331d3 100644
--- a/src/Mobs/Wither.h
+++ b/src/Mobs/Wither.h
@@ -19,6 +19,9 @@ public:
/** Returns whether the wither is invulnerable to arrows. */
bool IsArmored(void) const;
+
+ /** Use the wither the invulnerable from the spawn? */
+ bool IsSpawnInvulnerable(void) const { return m_IsSpawnInvulnerable; }
// cEntity overrides
virtual bool Initialize(cWorld * a_World) override;