Fixed Errors
This commit is contained in:
parent
296d0acbff
commit
1dfd2b1c5f
@ -19,7 +19,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
virtual void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override
|
||||
virtual void OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override
|
||||
{
|
||||
cWindow * Window = new cEnchantingWindow(a_BlockX, a_BlockY, a_BlockZ);
|
||||
a_Player->OpenWindow(Window);
|
||||
|
@ -1601,8 +1601,8 @@ int cProtocol125::ParseUseEntity(void)
|
||||
|
||||
int cProtocol125::ParseEnchantItem(void)
|
||||
{
|
||||
HANDLE_PACKET_READ(ReadByte, byte, WindowID);
|
||||
HANDLE_PACKET_READ(ReadByte, byte, Enchantment);
|
||||
HANDLE_PACKET_READ(ReadByte, Byte, WindowID);
|
||||
HANDLE_PACKET_READ(ReadByte, Byte, Enchantment);
|
||||
|
||||
LOGWARN("Older Protocol: Enchantment Packet received!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user