Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Minecraft.World/DoorItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using namespace std;
DoorItem::DoorItem(int id, Material *material) : Item(id)
{
this->material = material;
maxStackSize = 1;
maxStackSize = 64;
}

bool DoorItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
Expand Down
4 changes: 2 additions & 2 deletions Minecraft.World/Recipes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Recipes::Recipes()
L'#', Tile::mossyCobblestone,
L'S');

addShapedRecipy(new ItemInstance(Item::door_wood, 1), //
addShapedRecipy(new ItemInstance(Item::door_wood, 3), //
L"sssctg",
L"##", //
L"##", //
Expand All @@ -187,7 +187,7 @@ Recipes::Recipes()
L'#', Tile::wood,
L'S');

addShapedRecipy(new ItemInstance(Item::door_iron, 1), //
addShapedRecipy(new ItemInstance(Item::door_iron, 3), //
L"ssscig",
L"##", //
L"##", //
Expand Down
Loading