1
0

Merge pull request #2291 from bibo38/doorfix

Doors now get placed on the server-side.
This commit is contained in:
worktycho 2015-06-25 14:33:13 +01:00
commit fc2834e74b

View File

@ -32,7 +32,6 @@ public:
{ {
return false; return false;
} }
AddFaceDirection(a_BlockX, a_BlockY, a_BlockZ, a_BlockFace);
// Door (bottom block) can be placed in Y range of [1, 254]: // Door (bottom block) can be placed in Y range of [1, 254]:
if ((a_BlockY < 1) || (a_BlockY >= cChunkDef::Height - 2)) if ((a_BlockY < 1) || (a_BlockY >= cChunkDef::Height - 2))