UI: Added shift-click support to most slot areas, except crafting.
Also fixed survival inventory's crafting grid not working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@868 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -572,12 +572,13 @@ void cProtocol132::WriteItem(const cItem & a_Item)
|
||||
ItemType = -1;
|
||||
}
|
||||
|
||||
WriteShort(ItemType);
|
||||
if (a_Item.IsEmpty())
|
||||
{
|
||||
WriteShort(-1);
|
||||
return;
|
||||
}
|
||||
|
||||
WriteShort(ItemType);
|
||||
WriteByte (a_Item.m_ItemCount);
|
||||
WriteShort(a_Item.m_ItemDamage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user