From 9dc0e3c2335fa6aacd0974b161bd96772639bf52 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 29 Jul 2012 12:07:22 +0000 Subject: Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup. git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/items/ItemWood.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'source/items/ItemWood.h') diff --git a/source/items/ItemWood.h b/source/items/ItemWood.h index 13aba198d..7e874efc2 100644 --- a/source/items/ItemWood.h +++ b/source/items/ItemWood.h @@ -1,17 +1,22 @@ + #pragma once #include "Item.h" -class cItemWoodHandler : public cItemHandler + + + +class cItemWoodHandler : + public cItemHandler { public: cItemWoodHandler(int a_ItemID) : cItemHandler(a_ItemID) { } - virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override - { - return a_ItemMeta; - } -}; \ No newline at end of file +} ; + + + + -- cgit v1.2.3