fixed the tool not working at all in singleplayer