Fixed the redstone simulator.