diff --git a/Minecraft.World/DoorItem.cpp b/Minecraft.World/DoorItem.cpp index 24f9ca59..7406a2fd 100644 --- a/Minecraft.World/DoorItem.cpp +++ b/Minecraft.World/DoorItem.cpp @@ -16,7 +16,7 @@ DoorItem::DoorItem(int id, Material *material, const wstring& doorType) : Item( { this->material = material; this->doorType = doorType; - maxStackSize = 1; + maxStackSize = 64; } bool DoorItem::useOn(shared_ptr instance, shared_ptr player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly) diff --git a/Minecraft.World/DoorTile.cpp b/Minecraft.World/DoorTile.cpp index 59e7a14e..300f4e39 100644 --- a/Minecraft.World/DoorTile.cpp +++ b/Minecraft.World/DoorTile.cpp @@ -248,7 +248,7 @@ void DoorTile::neighborChanged(Level *level, int x, int y, int z, int type) level->removeTile(x, y, z); spawn = true; } - if (!level->isSolidBlockingTile(x, y - 1, z)) + if (!level->isTopSolidBlocking(x, y - 1, z)) { level->removeTile(x, y, z); spawn = true;