From d572ad7faf64197a8f897e0f5191a20d7d8bc58c Mon Sep 17 00:00:00 2001 From: Mat Date: Thu, 5 Mar 2020 16:05:30 +0200 Subject: Don't spawn boats in ground --- src/Items/ItemBoat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Items/ItemBoat.h b/src/Items/ItemBoat.h index 3f68240d4..ea95e6a47 100644 --- a/src/Items/ItemBoat.h +++ b/src/Items/ItemBoat.h @@ -81,7 +81,7 @@ public: } // Spawn block at water level - if (a_World->SpawnBoat(Callbacks.m_Pos + Vector3d(0.5, 0.5, 0.5), cBoat::ItemToMaterial(a_Player->GetEquippedItem())) == cEntity::INVALID_ID) + if (a_World->SpawnBoat(Callbacks.m_Pos + Vector3d(0.5, 1, 0.5), cBoat::ItemToMaterial(a_Player->GetEquippedItem())) == cEntity::INVALID_ID) { return false; } -- cgit v1.2.3