From 45591cbe7bef4c54c241a286ece07bc4ade4489e Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 15 Mar 2021 02:28:18 +0000 Subject: Properly deprecate more XYZ parameter'd functions (#5147) * Fixes #5144 --- src/Items/ItemBucket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Items/ItemBucket.h') diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h index 7e1e2c07f..a5b1085ba 100644 --- a/src/Items/ItemBucket.h +++ b/src/Items/ItemBucket.h @@ -76,13 +76,13 @@ public: return false; // Nothing in range. } - if (a_World->GetBlockMeta(BlockPos.x, BlockPos.y, BlockPos.z) != 0) + if (a_World->GetBlockMeta(BlockPos) != 0) { // Not a source block return false; } - BLOCKTYPE Block = a_World->GetBlock(BlockPos.x, BlockPos.y, BlockPos.z); + BLOCKTYPE Block = a_World->GetBlock(BlockPos); ENUM_ITEM_TYPE NewItemType; if (IsBlockWater(Block)) -- cgit v1.2.3