diff options
Diffstat (limited to 'src/Items/ItemSeeds.h')
-rw-r--r-- | src/Items/ItemSeeds.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemSeeds.h b/src/Items/ItemSeeds.h index e1db7c5f4..408899a78 100644 --- a/src/Items/ItemSeeds.h +++ b/src/Items/ItemSeeds.h @@ -42,7 +42,7 @@ public: default: return FoodInfo(0, 0); } } - + virtual bool GetPlacementBlockTypeMeta( cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, @@ -55,7 +55,7 @@ public: // Only allow planting seeds from the top side of the block return false; } - + // Only allow placement on farmland int X = a_BlockX; int Y = a_BlockY; @@ -65,7 +65,7 @@ public: { return false; } - + a_BlockMeta = 0; switch (m_ItemType) { |