blob: 35a201f81fc8e29a9b87bb9b2fc037f8f118c0d8 (
plain) (
tree)
|
|
#pragma once
#include "Item.h"
class cItemSaplingHandler : public cItemHandler
{
public:
cItemSaplingHandler(int a_ItemID)
: cItemHandler(a_ItemID)
{
}
virtual NIBBLETYPE GetBlockMeta(char a_ItemMeta) override
{
//Only the first 2 bits are important
return a_ItemMeta & 3;
}
};
|