summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemShears.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-21 18:06:44 +0200
committerHowaner <franzi.moos@googlemail.com>2014-10-21 18:06:44 +0200
commitf800f3c99830ee4486602d69611f40f99e704b9f (patch)
treea7ba3aaec6538edc8a98fd8195e726a908e128d7 /src/Items/ItemShears.h
parentMerge branch 'master' into BlockFixes (diff)
downloadcuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar.gz
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar.bz2
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar.lz
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar.xz
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.tar.zst
cuberite-f800f3c99830ee4486602d69611f40f99e704b9f.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemShears.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Items/ItemShears.h b/src/Items/ItemShears.h
index e0c5c6623..73343f629 100644
--- a/src/Items/ItemShears.h
+++ b/src/Items/ItemShears.h
@@ -77,15 +77,6 @@ public:
NIBBLETYPE BlockMeta;
a_World->GetBlockTypeMeta(a_BlockX, a_BlockY, a_BlockZ, Block, BlockMeta);
- if ((Block == E_BLOCK_TALL_GRASS) && !a_Player->IsGameModeCreative())
- {
- cItems Drops;
- Drops.Add(Block, 1, BlockMeta);
- a_World->SpawnItemPickups(Drops, a_BlockX, a_BlockY, a_BlockZ);
- a_Player->UseEquippedItem();
- return;
- }
-
super::OnBlockDestroyed(a_World, a_Player, a_Item, a_BlockX, a_BlockY, a_BlockZ);
switch (Block)
{