diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-07-10 16:38:19 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-07-10 16:38:19 +0200 |
commit | 944c04a209492826365b3785ccf1ed1fc70e122c (patch) | |
tree | 6ddb6afa6898bd07d9620de80179eb3fea9a6cd2 | |
parent | Maybe fixed whitespaces (diff) | |
download | cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar.gz cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar.bz2 cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar.lz cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar.xz cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.tar.zst cuberite-944c04a209492826365b3785ccf1ed1fc70e122c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemBucket.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h index 5c8d5f741..ab884ced6 100644 --- a/src/Items/ItemBucket.h +++ b/src/Items/ItemBucket.h @@ -99,13 +99,13 @@ public: { return false; } - - Vector3i BlockPos; - if (!GetPlaceableBlockFromTrace(a_World, a_Player, BlockPos)) - { - return false; - } - + + Vector3i BlockPos; + if (!GetPlaceableBlockFromTrace(a_World, a_Player, BlockPos)) + { + return false; + } + BLOCKTYPE CurrentBlock = a_World->GetBlock(BlockPos); bool CanWashAway = cFluidSimulator::CanWashAway(CurrentBlock); if (!CanWashAway) |