summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBookShelf.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-26/+26
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-04-24Prevent bookshelf pickup crashmathiascode1-1/+1
If no tool was involved in the creation of a bookshelf pickup (e.g. explosion), the server would crash due to a missing nullptr check. Removed the IsTool check completely, since we don't use it elsewhere, and vanilla doesn't do such checks either.
2020-03-28Updated Bookshelves drop behaviour (#4567)Xenoxis1-0/+26
* Updated BookShelves Drop Behaviour As described here : https://minecraft.gamepedia.com/Bookshelf#Loot * Update src/Blocks/BlockBookShelf.h * Update CONTRIBUTORS