diff options
author | Mattes D <github@xoft.cz> | 2014-01-25 22:36:32 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-25 22:36:32 +0100 |
commit | cdcad2237a91dfd18cde539c300034f84bc8c07b (patch) | |
tree | 5f3266637858980f29ff3ee4cc4c116e575797d3 /src/Mobs/IronGolem.h | |
parent | Merge pull request #583 from mc-server/ChangeToPolarSSL (diff) | |
parent | Did what xoft recommended (diff) | |
download | cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar.gz cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar.bz2 cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar.lz cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar.xz cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.tar.zst cuberite-cdcad2237a91dfd18cde539c300034f84bc8c07b.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 {} } ; |