2012-07-15 16:36:34 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Item.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cItemSaplingHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cItemSaplingHandler(int a_ItemID)
|
|
|
|
: cItemHandler(a_ItemID)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-07-16 15:20:37 -04:00
|
|
|
virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override
|
2012-07-15 16:36:34 -04:00
|
|
|
{
|
|
|
|
//Only the first 2 bits are important
|
|
|
|
return a_ItemMeta & 3;
|
|
|
|
}
|
|
|
|
};
|