New pull request for daylight sensor (#5066)

* Fixes #4918

Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
This commit is contained in:
Aiden Neill
2020-12-19 01:42:34 +00:00
committed by GitHub
co-authored by Tiger Wang
parent 7fbe4a0126
commit a7e9f88ff3
8 changed files with 184 additions and 54 deletions
@@ -25,6 +25,7 @@ private:
switch (a_Block) // Call the appropriate simulator for the entry's block type
{
case E_BLOCK_DAYLIGHT_SENSOR:
case E_BLOCK_INVERTED_DAYLIGHT_SENSOR:
case E_BLOCK_TRIPWIRE_HOOK:
case E_BLOCK_WOODEN_PRESSURE_PLATE:
case E_BLOCK_STONE_PRESSURE_PLATE:
@@ -58,6 +59,7 @@ private:
case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE:
case E_BLOCK_HOPPER:
case E_BLOCK_INACTIVE_COMPARATOR:
case E_BLOCK_INVERTED_DAYLIGHT_SENSOR:
case E_BLOCK_IRON_DOOR:
case E_BLOCK_IRON_TRAPDOOR:
case E_BLOCK_JUNGLE_DOOR: