diff options
author | Mattes D <github@xoft.cz> | 2014-10-01 18:28:07 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-01 18:28:07 +0200 |
commit | ecef85574d0140f847cd1fc5dc0058e13c8031f9 (patch) | |
tree | 8b3f911d93445d77bb85aec0f5b6fa1b7fe53d0c /src/Blocks/BlockPiston.h | |
parent | APIDump: Added more of the missing documentation. (diff) | |
parent | Added Daylight Sensors to the "can't push" list (diff) | |
download | cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar.gz cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar.bz2 cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar.lz cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar.xz cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.tar.zst cuberite-ecef85574d0140f847cd1fc5dc0058e13c8031f9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPiston.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h index 3a3fc7224..f868f4d8e 100644 --- a/src/Blocks/BlockPiston.h +++ b/src/Blocks/BlockPiston.h @@ -100,6 +100,7 @@ private: case E_BLOCK_BREWING_STAND: case E_BLOCK_CHEST: case E_BLOCK_COMMAND_BLOCK: + case E_BLOCK_DAYLIGHT_SENSOR: case E_BLOCK_DISPENSER: case E_BLOCK_DROPPER: case E_BLOCK_ENCHANTMENT_TABLE: @@ -108,6 +109,7 @@ private: // Notice the lack of an E_BLOCK_ENDER_CHEST here; its because ender chests can totally be pushed/pulled in MCS :) case E_BLOCK_FURNACE: case E_BLOCK_LIT_FURNACE: + case E_BLOCK_INVERTED_DAYLIGHT_SENSOR: case E_BLOCK_HOPPER: case E_BLOCK_JUKEBOX: case E_BLOCK_MOB_SPAWNER: @@ -115,7 +117,9 @@ private: case E_BLOCK_NOTE_BLOCK: case E_BLOCK_OBSIDIAN: case E_BLOCK_PISTON_EXTENSION: + case E_BLOCK_STANDING_BANNER: case E_BLOCK_TRAPPED_CHEST: + case E_BLOCK_WALL_BANNER: { return false; } |