diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-25 00:58:51 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-25 00:58:51 +0100 |
commit | fd7fc7e59efebd6b28012c8e8433f53ac853c555 (patch) | |
tree | fa4379ca71f8bd716be09bf2daad914e8649a277 /src/Mobs/IronGolem.h | |
parent | Fixed a generator bug (diff) | |
download | cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.gz cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.bz2 cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.lz cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.xz cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.tar.zst cuberite-fd7fc7e59efebd6b28012c8e8433f53ac853c555.zip |
Diffstat (limited to 'src/Mobs/IronGolem.h')
-rw-r--r-- | src/Mobs/IronGolem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/IronGolem.h b/src/Mobs/IronGolem.h index d49ff4cab..41c60438c 100644 --- a/src/Mobs/IronGolem.h +++ b/src/Mobs/IronGolem.h @@ -18,6 +18,10 @@ public: CLASS_PROTODEF(cIronGolem); virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; + + // Iron golems do not drown + virtual void HandleAir(void) override {} + virtual void SetSwimState(cChunk & a_Chunk) override {} } ; |