summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-05 15:05:30 +0100
committerGitHub <noreply@github.com>2020-03-05 15:05:30 +0100
commitd572ad7faf64197a8f897e0f5191a20d7d8bc58c (patch)
tree98c4056d6e4d69696bb5ab1aac278272bfb02162 /src/Items
parentUse LastSentPos for mob spawn packet in 1.11+ (#4490) (diff)
downloadcuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar.gz
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar.bz2
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar.lz
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar.xz
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.tar.zst
cuberite-d572ad7faf64197a8f897e0f5191a20d7d8bc58c.zip
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemBoat.h2
1 files changed, 1 insertions, 1 deletions
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;
}