From 0e1649a0f15a23717c72d7984a0b5d44ac29a769 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Tue, 20 Jun 2017 16:42:14 +0200 Subject: Fix shears (and vines) * Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters --- src/Blocks/BlockVine.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/Blocks') diff --git a/src/Blocks/BlockVine.h b/src/Blocks/BlockVine.h index dc04bee60..755161b12 100644 --- a/src/Blocks/BlockVine.h +++ b/src/Blocks/BlockVine.h @@ -73,9 +73,15 @@ public: { switch (a_BlockType) { + case E_BLOCK_CHEST: + case E_BLOCK_ENDER_CHEST: case E_BLOCK_GLASS: + case E_BLOCK_PISTON: + case E_BLOCK_PISTON_EXTENSION: + case E_BLOCK_REDSTONE_REPEATER_OFF: + case E_BLOCK_REDSTONE_REPEATER_ON: case E_BLOCK_STAINED_GLASS: - case E_BLOCK_CHEST: + case E_BLOCK_STICKY_PISTON: case E_BLOCK_TRAPPED_CHEST: { // You can't attach a vine to this solid blocks. -- cgit v1.2.3