summaryrefslogtreecommitdiffstats
path: root/src/Mobs/IronGolem.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/IronGolem.h4
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 {}
} ;