Add If conditions TowerPlacerAI

Add if conditions to avoid null pointer on first run of function
getNewTowers.