summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-07-10 16:38:19 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-07-10 16:38:19 +0200
commit944c04a209492826365b3785ccf1ed1fc70e122c (patch)
tree6ddb6afa6898bd07d9620de80179eb3fea9a6cd2 /src/Items
parentMaybe fixed whitespaces (diff)
downloadcuberite-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 'src/Items')
-rw-r--r--src/Items/ItemBucket.h14
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)