From 71b96ab921bed0371d7c75ac4a2db99b94591de2 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 22 Sep 2020 11:08:12 +0100 Subject: Limit fortune level, style fixes --- src/Blocks/BlockHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Blocks/BlockHandler.h') diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h index 8d595cc4a..87b259d54 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -232,7 +232,7 @@ public: /** Returns the fortune level of a tool, if it is a valid tool. Can be used in ConvertToPickups() implementations. */ - static unsigned int ToolFortuneLevel(const cItem * a_Tool); + static unsigned char ToolFortuneLevel(const cItem * a_Tool); // Gets the blockhandler for the given block type. static const cBlockHandler & For(BLOCKTYPE a_BlockType); -- cgit v1.2.3