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