summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-06 20:20:06 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-06 20:20:06 +0200
commit2006de22170d40666fc8437829a10a79556f55bf (patch)
treefb9ed8c84268039cfc7018cbb4dd1e1ff8852a07 /source/Items
parentMineshafts: Added a (nonworking) mob spawner in cobweb spider nests. (diff)
downloadcuberite-2006de22170d40666fc8437829a10a79556f55bf.tar
cuberite-2006de22170d40666fc8437829a10a79556f55bf.tar.gz
cuberite-2006de22170d40666fc8437829a10a79556f55bf.tar.bz2
cuberite-2006de22170d40666fc8437829a10a79556f55bf.tar.lz
cuberite-2006de22170d40666fc8437829a10a79556f55bf.tar.xz
cuberite-2006de22170d40666fc8437829a10a79556f55bf.tar.zst
cuberite-2006de22170d40666fc8437829a10a79556f55bf.zip
Diffstat (limited to '')
-rw-r--r--source/Items/ItemShears.h2
-rw-r--r--source/Items/ItemSword.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/Items/ItemShears.h b/source/Items/ItemShears.h
index f1424ee2e..dbdfeff5d 100644
--- a/source/Items/ItemShears.h
+++ b/source/Items/ItemShears.h
@@ -53,7 +53,7 @@ public:
{
return true;
}
- } // switch (a_BlockType
+ } // switch (a_BlockType)
return false;
}
} ;
diff --git a/source/Items/ItemSword.h b/source/Items/ItemSword.h
index 327c39a40..37b9ef32d 100644
--- a/source/Items/ItemSword.h
+++ b/source/Items/ItemSword.h
@@ -16,6 +16,6 @@ public:
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override
{
- return a_BlockType == E_BLOCK_COBWEB;
+ return (a_BlockType == E_BLOCK_COBWEB);
}
}; \ No newline at end of file