diff options
author | Mattes D <github@xoft.cz> | 2014-12-17 08:38:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-17 08:38:23 +0100 |
commit | 4947880a5d75d827b23f2ea359d9219043a32fcd (patch) | |
tree | 7167c17bec4ce486238575f7c158384e5776aa20 /src/Blocks/BlockTallGrass.h | |
parent | Updated Core. (diff) | |
parent | NULL -> nullptr (diff) | |
download | cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar.gz cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar.bz2 cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar.lz cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar.xz cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.tar.zst cuberite-4947880a5d75d827b23f2ea359d9219043a32fcd.zip |
Diffstat (limited to 'src/Blocks/BlockTallGrass.h')
-rw-r--r-- | src/Blocks/BlockTallGrass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockTallGrass.h b/src/Blocks/BlockTallGrass.h index 8e821b899..4134a01f8 100644 --- a/src/Blocks/BlockTallGrass.h +++ b/src/Blocks/BlockTallGrass.h @@ -38,7 +38,7 @@ public: virtual void DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_BlockPluginInterface, cEntity * a_Digger, int a_BlockX, int a_BlockY, int a_BlockZ, bool a_CanDrop) override { - if (a_CanDrop && (a_Digger != NULL) && (a_Digger->GetEquippedWeapon().m_ItemType == E_ITEM_SHEARS)) + if (a_CanDrop && (a_Digger != nullptr) && (a_Digger->GetEquippedWeapon().m_ItemType == E_ITEM_SHEARS)) { NIBBLETYPE Meta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ); cItems Drops; |