1
0

Don't spawn boats in ground

This commit is contained in:
Mat 2020-03-05 16:05:30 +02:00 committed by GitHub
parent cff9f7571b
commit d572ad7faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ public:
} }
// Spawn block at water level // 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; return false;
} }