Update RedstoneMachine.java