Fixed a small bug
This commit is contained in:
parent
a215070cf2
commit
5c45c8897c
@ -731,7 +731,7 @@ bool cWorld::CheckPlayerSpawnPoint(int a_PosX, int a_PosY, int a_PosZ)
|
|||||||
{
|
{
|
||||||
BLOCKTYPE BlockType = GetBlock(a_PosX + Coords[i].x, a_PosY, a_PosZ + Coords[i].x);
|
BLOCKTYPE BlockType = GetBlock(a_PosX + Coords[i].x, a_PosY, a_PosZ + Coords[i].x);
|
||||||
|
|
||||||
if (cBlockInfo::IsSolid(BlockType) && IsBlockLiquid(BlockType))
|
if (cBlockInfo::IsSolid(BlockType) || IsBlockLiquid(BlockType))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user