diff options
author | Spongecade <spongecade.129@gmail.com> | 2023-09-27 20:07:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 20:07:42 +0200 |
commit | ebeb164d2be6754908a9c562850e585f18f70b88 (patch) | |
tree | f0396dc592063fab48a622049ac43e35a8bc9f66 /src/BlockType.h | |
parent | Only enable werror for debug (#5501) (diff) | |
download | cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.gz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.bz2 cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.lz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.xz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.zst cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.zip |
Diffstat (limited to 'src/BlockType.h')
-rw-r--r-- | src/BlockType.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockType.h b/src/BlockType.h index a49936050..13c7d6d39 100644 --- a/src/BlockType.h +++ b/src/BlockType.h @@ -273,7 +273,7 @@ enum ENUM_BLOCK_TYPE : BLOCKTYPE E_BLOCK_STRUCTURE_BLOCK = 255, // Keep these two as the last values. Update the last block value to the last block with an id less than 255 when adding another block - // IsValidBlock() depends on this (255 gets checked additionally because there is a gap. See https://minecraft.gamepedia.com/Data_values#Block_IDs + // IsValidBlock() depends on this (255 gets checked additionally because there is a gap. See https://minecraft.wiki/w/Data_values#Block_IDs E_BLOCK_NUMBER_OF_TYPES = E_BLOCK_CONCRETE_POWDER + 1, ///< Number of individual (different) blocktypes E_BLOCK_MAX_TYPE_ID = E_BLOCK_NUMBER_OF_TYPES - 1, ///< Maximum BlockType number used |