diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-10-21 18:06:44 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-10-21 18:06:44 +0200 |
commit | f800f3c99830ee4486602d69611f40f99e704b9f (patch) | |
tree | a7ba3aaec6538edc8a98fd8195e726a908e128d7 /src/Items/ItemShears.h | |
parent | Merge branch 'master' into BlockFixes (diff) | |
download | cuberite-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.h | 9 |
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) { |