summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 15:44:55 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 15:44:55 +0100
commit969bf05a2686a24ccae6838d2cb9b3b2a0c55111 (patch)
treeb0ddf5190b8d926722396338cfdcb28af5c813c5 /src/Mobs/Villager.h
parentMakes farmers farm crops. (diff)
downloadcuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar.gz
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar.bz2
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar.lz
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar.xz
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.tar.zst
cuberite-969bf05a2686a24ccae6838d2cb9b3b2a0c55111.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Villager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Villager.h b/src/Mobs/Villager.h
index b7cbe8ed0..9502f387c 100644
--- a/src/Mobs/Villager.h
+++ b/src/Mobs/Villager.h
@@ -33,6 +33,7 @@ public:
virtual void Tick (float a_Dt, cChunk & a_Chunk) override;
void HandleFarmer();
+ bool IsBlockFarmable(BLOCKTYPE a_BlockType);
int GetVilType(void) const { return m_Type; }
private: