1
0

Doors now get placed on the server-side.

The Y-Value is already the lower door block(From ItemHandler.cpp:346).
Increasing it once again, places the door into the air, which is blocked by Cuberite.
Bugfix #2279
This commit is contained in:
bibo38 2015-06-25 16:17:03 +02:00
parent c1780366b0
commit 31466fda5f

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))