Moved blockticking into blockhandler classes.
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -32,9 +32,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockID) override
|
||||
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override
|
||||
{
|
||||
switch(a_BlockID)
|
||||
switch(a_BlockType)
|
||||
{
|
||||
case E_BLOCK_OBSIDIAN:
|
||||
return PickaxeLevel() >= 4;
|
||||
|
||||
Reference in New Issue
Block a user