1
0

Added cWindow property manipulation API.

Now enchantment table and furnace properties can be set by a plugin
This commit is contained in:
madmaxoft
2013-08-18 13:26:37 +02:00
parent 40e9e5b95b
commit 0d323563e4
13 changed files with 154 additions and 48 deletions

View File

@@ -332,10 +332,10 @@ void cProtocolRecognizer::SendHealth(void)
void cProtocolRecognizer::SendInventoryProgress(char a_WindowID, short a_Progressbar, short a_Value)
void cProtocolRecognizer::SendWindowProperty(const cWindow & a_Window, short a_Property, short a_Value)
{
ASSERT(m_Protocol != NULL);
m_Protocol->SendInventoryProgress(a_WindowID, a_Progressbar, a_Value);
m_Protocol->SendWindowProperty(a_Window, a_Property, a_Value);
}