1
0
Fork 0

Don't let redstone blocks power adjacent blocks. (#3214)

* Don't let redstone blocks power adjacent blocks.
This fixes issue #2966
This commit is contained in:
QUSpilPrgm 2016-05-28 22:48:36 +02:00 committed by Tiger Wang
parent 98cc2a9987
commit a567b36a8a
2 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,7 @@ public:
UNUSED(a_BlockType);
UNUSED(a_Meta);
UNUSED(a_QueryPosition);
UNUSED(a_QueryBlockType);
return 15;
return cIncrementalRedstoneSimulator::IsMechanism(a_QueryBlockType) ? 15 : 0;
}
virtual unsigned char GetPowerLevel(const Vector3i & a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta) override