summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortumultenrx <tumultenrx@gmail.com>2015-03-14 20:45:16 +0100
committertumultenrx <tumultenrx@gmail.com>2015-03-14 20:45:16 +0100
commit5c45c8897cdd9d80d70551c99020a0bab7a38d7d (patch)
tree6e4c166a8d4826c6de0712c79c2698e459e9c882
parentMonsters will now attack. Additional checks have been added when generating spawn. (diff)
downloadcuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar.gz
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar.bz2
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar.lz
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar.xz
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.tar.zst
cuberite-5c45c8897cdd9d80d70551c99020a0bab7a38d7d.zip
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index d4910ea2d..5fd55a492 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -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);
- if (cBlockInfo::IsSolid(BlockType) && IsBlockLiquid(BlockType))
+ if (cBlockInfo::IsSolid(BlockType) || IsBlockLiquid(BlockType))
{
return false;
}