summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBoat.h
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-01 07:14:38 +0100
committerpeterbell10 <peterbell10@live.co.uk>2020-03-01 14:27:19 +0100
commitdca896dfcc9d95c7aa2d9c02d8392027c28c6473 (patch)
treea1870190077768ec7a126b3582d50a6fbafd43d4 /src/Items/ItemBoat.h
parentUpdate ProtectionAreas (diff)
downloadcuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar.gz
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar.bz2
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar.lz
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar.xz
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.tar.zst
cuberite-dca896dfcc9d95c7aa2d9c02d8392027c28c6473.zip
Diffstat (limited to 'src/Items/ItemBoat.h')
-rw-r--r--src/Items/ItemBoat.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Items/ItemBoat.h b/src/Items/ItemBoat.h
index f0b0cefd8..3f68240d4 100644
--- a/src/Items/ItemBoat.h
+++ b/src/Items/ItemBoat.h
@@ -73,13 +73,6 @@ public:
auto by = FloorC(y);
auto bz = FloorC(z);
- // Verify that block type for spawn point is water
- BLOCKTYPE SpawnBlock = a_World->GetBlock(bx, by, bz);
- if (!IsBlockWater(SpawnBlock))
- {
- return false;
- }
-
// Block above must be air to spawn a boat (prevents spawning a boat underwater)
BLOCKTYPE BlockAbove = a_World->GetBlock(bx, by + 1, bz);
if (BlockAbove != E_BLOCK_AIR)