super jank code for anti chaining, need to stop them from running into explosions and stop trapping themselves