Update src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
This commit is contained in:
parent
1c579f58aa
commit
5b92e6654f
@ -25,14 +25,7 @@ public:
|
||||
if ((a_BlockMeta == E_META_REDSTONE_REPEATER_FACING_XP) || (a_BlockMeta == E_META_REDSTONE_REPEATER_FACING_XM))
|
||||
{
|
||||
/** Check if Block is not aligned in in x direction */
|
||||
if (a_Offset.x == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return (a_Offset.x != 0);
|
||||
}
|
||||
/** when repeater is in z direction */
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user