summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemAxe.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-05Deal with covered switches consistently (#4161)peterbell101-0/+1
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2018-01-05Item durability loss now depends on the item used. (#4123)Alexander Harkness1-5/+14
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-2/+0
2016-11-06Anticheat fastbreak (#3411)mohe20151-0/+48
Added block hardness checks when breaking blocks.