2012-07-15 13:36:34 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Item.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cItemSaplingHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cItemSaplingHandler(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
|
|
|
{
|
|
|
|
//Only the first 2 bits are important
|
|
|
|
return a_ItemMeta & 3;
|
|
|
|
}
|
|
|
|
};
|