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:
parent
98cc2a9987
commit
a567b36a8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user