Fixed NullPointer in LocustSwarm