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/ItemCloth.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'source/items/ItemCloth.h') diff --git a/source/items/ItemCloth.h b/source/items/ItemCloth.h index ead4ee84a..d67e14864 100644 --- a/source/items/ItemCloth.h +++ b/source/items/ItemCloth.h @@ -1,9 +1,14 @@ + #pragma once #include "Item.h" -class cItemClothHandler : public cItemHandler + + + +class cItemClothHandler : + public cItemHandler { public: cItemClothHandler(int a_ItemID) @@ -11,8 +16,8 @@ public: { } - virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override - { - return a_ItemMeta; - } -}; \ No newline at end of file +} ; + + + + -- cgit v1.2.3