2012-07-15 13:36:34 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Item.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cItemLeavesHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cItemLeavesHandler(int a_ItemID)
|
|
|
|
: cItemHandler(a_ItemID)
|
|
|
|
{
|
|
|
|
}
|
2012-07-16 12:20:37 -07:00
|
|
|
virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override
|
2012-07-15 13:36:34 -07:00
|
|
|
{
|
2012-07-16 12:20:37 -07:00
|
|
|
return a_ItemMeta | 0x4; //0x4 bit set means this is a player places leave
|
2012-07-15 13:36:34 -07:00
|
|
|
}
|
|
|
|
};
|