1
0

Limit fortune level, style fixes

This commit is contained in:
Tiger Wang
2020-09-22 11:08:12 +01:00
parent a0dd311d02
commit 71b96ab921
8 changed files with 45 additions and 40 deletions

View File

@@ -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);